Server Fault is a question and answer site for system and network administrators. 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

I ran apt-get install gnome-terminal and apt-get install gnome-desktop on my linux box. It was just a command line box before that. Both of these things had like around 100mb of files to install - I guess dependencies?

Anyhow, I then ran apt-get remove for both of them and it only remove like a few megabytes. So I suppose it left the dependencies on the system? How can I remove all the other stuff that was installed with them?

share|improve this question
up vote 4 down vote accepted

Run apt-get autoremove to remove all packages that were marked as automatically installed, and that are no longer used by any package that's marked as manually installed.

share|improve this answer
wow this is very helpful to know! – cwd Jun 12 '11 at 0:39

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.