Free Disk Space from APT’s Cache

Posted by suvi under Debian, Other, Ubuntu

Ubuntu doesn’t require a lot of disk space to install, but if you’ve installed in a virtual machine with a small virtual drive, or partitioned most of your disk for your /home, you may need to free up some space on a system occasionally.

The APT package management system keeps a cache of DEB packages in /var/cache/apt/archives. Over time this cache can grow quite large and hold a lot of packages you don’t need.

For example, I installed AWN from a repository that frequently updates to the latest development versions. As a result, /var/cache/apt/archives contained 11 different versions of the package avant-window-navigator-trunk.

Read more at Tombuntu

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word