apt-get cleanWhen packages are downloaded and installed using apt, the .deb files are left behind in /var/cache/apt/archives/. Over time, you can take up a lot of disk space with those unnecessary installers. To remove all of the unneeded .deb files, use apt-get clean (once again, this command is run as root): $ ls -1 /var/cache/apt/archives/ fuse-utils_2.3.0-1ubuntu1.1_i386.deb libfuse2_2.3.0-1ubuntu1.1_i386.deb lock partial/ sshfs_1.1-1_i386.deb # apt-get clean $ ls -1 /var/cache/apt/archives/ lock partial/ If a download is interrupted for whatever reason, you might find a partial .deb file in /var/cache/apt/archives/partial/. If you know that all of the updates and upgrades are complete and installed, it's safe to delete the contents of that directory, should you find anything in it. |