diff options
| -rw-r--r-- | content/articles/pacman.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/content/articles/pacman.md b/content/articles/pacman.md index b61beb7..ee8def3 100644 --- a/content/articles/pacman.md +++ b/content/articles/pacman.md @@ -76,6 +76,20 @@ removes packages which were needed for the selected package to work. The recursive option is smart enough to leave a dependency on the system if it is needed by another explicitly installed package. +#### Package cache cleanup + +`pacman` keeps all downloaded packages by default in the package cache. This +can take a significant amount of disk space. + +To clean up all but the latest versions of the installed packages one can run: + +``` +sudo pacman -Sc +``` + +This asks interactive question which can be simply be answered by typing +`<Enter>` in most cases. + #### Further documentation This page is just a little cheat sheet especially targeted at new Arch Linux |
