User Tools

Site Tools


ubuntu:apt-get:clean_the_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:apt-get:clean_the_system [2023/06/18 17:05] peterubuntu: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
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  This may not be desirable if you have a slow Internet connection, since it will cause you to re-download any packages you need to install a program.
 +
 +  * The package cache is in **/var/cache/apt/archives**.
 +
 +  * See how much space cached packages are consuming: <code bash>
 +du -sh /var/cache/apt/archives
 +</code>
 +
 +</WRAP>
  
 ---- ----
ubuntu/apt-get/clean_the_system.1687107945.txt.gz · Last modified: 2023/06/18 17:05 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki