Pacman-contrib: Difference between revisions
From wikinotes
Line 19: | Line 19: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
paccache -rv --min-mtime '30 days ago' | |||
paccache -r # delete all but 3x most recent versions of package | paccache -r # delete all but 3x most recent versions of package | ||
paccache -d # dry-run delete all but 3x most recent versions of package | paccache -d # dry-run delete all but 3x most recent versions of package |
Latest revision as of 21:54, 4 November 2023
A collection of helper scripts for working with pacman.
Install
pacman -S pacman-contrib
Usage
paccache
NOTE:
The
-u
param targets uninstalled packages.
That doesn't mean it keeps the installed version,
It means that it preserves the full history of any installed package.paccache -rv --min-mtime '30 days ago' paccache -r # delete all but 3x most recent versions of package paccache -d # dry-run delete all but 3x most recent versions of package paccache -dv # print files that would be deletedpaccache
checkupdates
paclog-pkglist
pacscripts
pacsearch
pacsort
pactree
rankmirrors
updpkgsums