How To Clear Apt Cache – /var/cache/apt/

I have a few limited space (20 gig) servers doing small jobs for us. If these have been upgrade over several major releases then the apt cache can get quite large. I used ncdu to see which folders and files are taking up space.

To clear you apt cache from the command line type:

apt-get clean

Leave a Reply