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

Anything wrong with this practice? would it work?

If I install package with apt-get and remove with aptitude?

In addition, I recently removed webmin. Does apt-get --purge remove - delete also dependencies installed during apt-get install webmin?

How do I check for those and remove if it didn't get removed automatically?

share|improve this question
up vote 2 down vote accepted

You can freely use apt-get and aptitude intermixed, because both of them do the same thing behind the scenes - manipulate the apt package management system.

aptitude remove automatically unneeded packages by default.

With apt-get you should pass the --auto-remove option to obtain the same behavior, or use apt-get autoremove alone.

share|improve this answer
Thanks! that was clear! – Sandro Dzneladze Oct 19 '11 at 10:27

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.