Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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

 
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.