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

I removed webmin, as I no longer needed it.

But I removed it with apt-get --purge remove, thinking it would remove dependencies and simply retrace back what it did during installation. It turns out I was wrong, and aptitude or --auto-remove had to be used.

I would like to keep my machine clean of unneeded scripts and installs.

how do I remove stuff probably has been left behind?

share|improve this question
up vote 0 down vote accepted

Use apt-get autoremove --purge.

It removes any unnecessary leftover packages and with the --purge option, the configuration files are also removed.

share|improve this answer
thank you, I didn't realize that even though package webmin doesn't exist on my comp, apt-get can still read dependencies list and do as requested! I love linux. – Sandro Dzneladze Oct 19 '11 at 14:08

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.