ubuntu:apt-get:clean_the_system
This is an old revision of the document!
Table of Contents
Ubuntu - apt-get - Clean the system
Free up some disk space.
sudo apt-get clean
Only remove packages that have a newer version available
sudo apt-get autoclean
NOTE: autoclean only removes those retrieved package files that have a newer version now, and so will not be used anymore.
Removes libraries and packages that were installed automatically to satisfy the dependencies of another installed package
sudo apt-get autoremove
NOTE: autoremove removes libraries and packages that were installed automatically to satisfy the dependencies of another installed package.
- If that package is removed, these automatically installed packages are useless in the system, and this command removes such packages.
ubuntu/apt-get/clean_the_system.1687105565.txt.gz · Last modified: 2023/06/18 16:26 by peter