Arch Linux
Package Management
Clean up the Pacman cache
Option 1
Run pacman -Sc. This cleans out the entire pacman cache. This means no downgrades or recovering removed packages without re-downloading them.
Option 2
Use the paccache utility script. This is a safer for managing the pacman cache. See more details here