Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.