To free up some disk space with a Ubuntu/Debian-based system, the apt-get clean command can be used. This command should remove downloaded .deb files or packages from the local repository within the paths /var/cache/apt/archives and /var/cache/apt/archives/partial. The apt-get autoclean command is similar; the only difference is that it only removes package files that can not longer be downloaded. An example would be a package that has a newer version within the repository.
sudo apt-get clean
sudo apt-get autoclean
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.