Clean cache in your system

Hey guys here are some useful command’s that can free your space and remove unwanted files

Main ones>

sudo pacman -Sc
sudo pacman -Qdt
sudo journalctl --vacuum-size=500M && sudo journalctl --vacuum-time=7d

Additional cleaning >

Remove all uninstalled packages

sudo paccache -rvuk0

Remove old installed packages, leave 3

sudo paccache -rvk3

Clean yay cache

yay -Sc -a

Something for pamac GUI package manager>

Clean pamac build cache

pamac clean -bv

Remove orphaned libraries

pamac remove --orphans

clean cache

pamac clean --build-files

Also I suggest to use additionally GUI application
Bleachbit > https://www.bleachbit.org/

To install it >

sudo pacman -S bleachbit
8 Likes