User Tools

Site Tools


clean_packages

This is an old revision of the document!


Packages clean up

After removing, installing new or upgrading packages, there are some (not always) packages not needed any more.

They can be safely removed from the system. Every command has to be run with root privileges su or sudo.

Run:

 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:

 apt-get autoclean

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

 apt-get clean

clean_packages.1534453228.txt.gz · Last modified: 2021/05/04 15:25 (external edit)