ubuntu:apt-get:clean_the_system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:apt-get:clean_the_system [2023/06/18 16:26] – peter | ubuntu:apt-get:clean_the_system [2023/06/18 17:08] (current) – peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
---- | ---- | ||
+ | |||
+ | ===== Remove all packages from the package cache ===== | ||
<code bash> | <code bash> | ||
sudo apt-get clean | sudo apt-get clean | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * The package cache is in **/ | ||
+ | |||
+ | * See how much space cached packages are consuming: <code bash> | ||
+ | du -sh / | ||
+ | </ | ||
+ | |||
+ | </ | ||
---- | ---- | ||
Line 19: | Line 32: | ||
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
+ | |||
+ | * This command removes **.deb** files for packages that are no longer installed on your system. | ||
+ | * Depending on your installation habits, removing these files from / | ||
+ | |||
</ | </ | ||
ubuntu/apt-get/clean_the_system.1687105565.txt.gz · Last modified: 2023/06/18 16:26 by peter