diff options
| author | xengineering <me@xengineering.eu> | 2026-05-26 19:21:02 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-05-26 19:21:02 +0200 |
| commit | 155b488d1bf69f17a73164d867cfdd8d2c67ff8f (patch) | |
| tree | ad6ec13cac76c0732edabca172fe403ff2ddbd5f /content | |
| parent | 9201c6397e8fb9c7d6c200265e547ed675eeddad (diff) | |
| download | website-155b488d1bf69f17a73164d867cfdd8d2c67ff8f.tar website-155b488d1bf69f17a73164d867cfdd8d2c67ff8f.tar.zst website-155b488d1bf69f17a73164d867cfdd8d2c67ff8f.zip | |
articles: pacman: Explain pacman -Sc
Diffstat (limited to 'content')
| -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 |
