Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clear pacman cache
You can also define how many recent versions you want to keep. To retain only one past version use:
# paccache -rk1
Add the u switch to limit the action of paccache to uninstalled packages. For example to remove all cached versions of uninstalled packages, use the following:
# paccache -ruk0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment