remove all GUI-related packages from existing installation.

Help with issues regarding installation of Debian

remove all GUI-related packages from existing installation.

Postby iler61 » 2008-06-10 05:20

How do I remove all GUI-related packages from existing installation.
Including Gnome, KDE, X client apps and libraries, X server.

Posts: 7
Joined: 2007-07-09 18:49

Postby BioTube » 2008-06-10 16:23

Code: Select all
apt-get autoremove xorg
This will remove the xorg package, everything that was automatically installed for it and everything that depends on them(and everything that depends on them, etc). That oughta flush most, if not all, of your GUI packages. Note that if you're using Etch, only aptitude keeps track of whether a package was automatically installed(so any packages installed with Synaptic or apt-get won't be removed except for dependency issues).
Ludwig von Mises wrote:The elite should be supreme by virtue of persuasion, not by the assistance of firing squads.
User avatar
Posts: 7551
Joined: 2007-06-01 04:34

Postby infinitycircuit » 2008-06-10 16:41

This is a bit extreme, but it works:

Code: Select all
apt-get remove --purge x11-common
apt-get autoremove --purge
apt-get install -y deborphan
deborphan | xargs dpkg -P # do this a bunch of times
I am currently a Debian Maintainer. I am also in the New Maintainers' Queue.
Posts: 1137
Joined: 2007-07-24 03:31
Location: California

Return to Installation

Who is online

Users browsing this forum: No registered users and 6 guests