Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On the alternate CD there is the option to install a command-line system. What packages (or meta-packages) are installed when I select this option? What is the easiest way to remove all packages except those and their dependencies (possibly using synaptic or the software centre)?

share|improve this question
The easiest way to do this is certainly to install a new Ubuntu system from the alternate (or minimal) CD, as a command-line only system! However, if you want to know specifically which packages to keep when removing most installed packages to convert a graphical Ubuntu system into a command-line only system, please specify which release of Ubuntu (e.g., 11.10, 11.04) you're interested in doing this on. – Eliah Kagan Nov 7 '11 at 18:45
I hoped it would just be a couple of meta-packages and they would be mostly the same for all releases. If they're not I would be grateful for a list for 11.10. – user142 Nov 7 '11 at 18:57
ssamuel has beat me to the punch with…; that answer has my vote.. The page linked to in that answer is for Ubuntu 11.10 (and has links to the corresponding pages for earlier versions of Ubuntu). – Eliah Kagan Nov 7 '11 at 21:03
up vote 1 down vote accepted

There is information here about how to remove most desktop environments from an Ubuntu installation.

Effectively, that is probably what you want to do: remove all the desktops and X. Once all the desktops are gone, doing a full autoremove should pull all of the dependencies, which should include all of X.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.