Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

When you install Debian linux, there's a dialog in the graphical install system which asks after several steps in which environment you want to stay. There are options between "File environment", "Web environment", "Graphical environment" and some others.

Unluckily, I've also marked the "Graphical environment" on my newly set-up server and want to remove this option. Is there a way to do it? Every time I update my system, packages like Iceweasel, X and other gui related software gets updated too...

And, how is this called? If I search for "environment debian linux" I can't find any results.

share|improve this question
up vote 2 down vote accepted

The "software selection" screen of the Debian installation -- which lists different desktop environments, "web server", "print server", etc. -- is tasksel. You can run it manually to add or remove software sets after the installation:

$ sudo tasksel

or as root:

# tasksel

Use the arrow keys to move the highlight to the item you want to change, spacebar to toggle it, and then press Tab to move the cursor to the Ok 'button' and press Enter.

share|improve this answer

I'm not exactly sure what you're referring to but it is most likely a meta package. If you uninstall the programs you want to remove, that should stop them from being updated and it should also remove the meta package.

You can check which metapackages you have installed like this:

apt-cache show $(dpkg-query -Wf '${Package}\n') | 
  awk '$1 == "Package:" { pkg = $2 }; 
      $1 == "Section:" && $2 ~ /metapackage/ { print pkg }'

In any case, the easiest thing to do would be to remove the packages you don't want. Something like:

sudo apt-get remove gnome*  xorg* iceweasel
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.