ubuntu:apt-get:clean_the_system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:apt-get:clean_the_system [2023/06/18 17:05] – 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 / | ||
+ | </ | ||
+ | |||
+ | </ | ||
---- | ---- |
ubuntu/apt-get/clean_the_system.1687107945.txt.gz · Last modified: 2023/06/18 17:05 by peter