2019-02-22 21:25:39 +00:00
|
|
|
# paccache
|
|
|
|
|
2020-02-17 14:22:21 +00:00
|
|
|
> A pacman cache cleaning utility.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://manned.org/paccache>.
|
2019-02-22 21:25:39 +00:00
|
|
|
|
|
|
|
- Remove all but the 3 most recent package versions from the pacman cache:
|
|
|
|
|
|
|
|
`paccache -r`
|
|
|
|
|
|
|
|
- Set the number of package versions to keep:
|
|
|
|
|
|
|
|
`paccache -rk {{num_versions}}`
|
|
|
|
|
|
|
|
- Perform a dry-run and show the number of candidate packages for deletion:
|
|
|
|
|
|
|
|
`paccache -d`
|
|
|
|
|
|
|
|
- Move candidate packages to a directory instead of deleting them:
|
|
|
|
|
|
|
|
`paccache -m {{path/to/directory}}`
|