User Tools

Site Tools


clean_packages

This is an old revision of the document!


Package clean up

After removing, installing new or upgrading packages, there can be some packages not needed any more.

They can be safely removed from the system. Every command has to be run with super user privileges sudo.

Run:

 sudo apt-get autoremove

After upgrading packages, the package manager keeps all deb packages even if doesn't need them any more.

To remove all old deb packages from the system (the latest deb versions will be NOT removed), run:

 sudo apt-get autoclean

If you would like to remove all the deb packages from the system, run:

 sudo apt-get clean

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
clean_packages.1575673527.txt.gz · Last modified: 2021/05/04 15:25 (external edit)