Pacman-contrib: Difference between revisions
From wikinotes
Line 12: | Line 12: | ||
== paccache == | == paccache == | ||
<blockquote> | <blockquote> | ||
{{ NOTE | | |||
The <code>-u</code> param targets uninstalled packages.<br> | |||
That doesn't mean it keeps the installed version,<br> | |||
It means that it preserves the full history of any installed package. | |||
}} | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
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 | ||
paccache - | paccache -dv # print files that would be deleted | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- paccache --> | </blockquote><!-- paccache --> |
Revision as of 21:29, 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 -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