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?


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy