Quickly Empty Archives And Free Disk Space In Linux Mint/Ubuntu
June 18, 2012
Over a period of time, when packages are installed using apt-get commands in Linux Mint/Ubuntu, the corresponding .deb files are stored in the archives folder (/var/cache/apt/archives). They can take up disk space if left as it is and so it can be useful to remove them.
These files can be viewed by typing :
[cc lang=”bash”]
ls -l /var/cache/apt/archives | less
[/cc]
To remove them and empty the archives folder :
1. Open Terminal and type :
[cc lang=”bash”]
sudo apt-get clean
[/cc]
All done. The earlier .deb files will now no longer be there.
Happy cleaning.

