pacman cheatsheet to keep your storage tidy
January 06, 2021 —
owen
autoremove nolonger needed dependencies
pacman -Rns $(pacman -Qttqd)
show the largest non-dependencies
pacman -Qtti | grep 'Name\|Installed Size' | tr "\n" " " | tr "N" "\n" | awk '{print $3 " " $7 $8}' | sort -k2 -h
remove stale cache (will not remove latest cache)
pacman -Sc
Tags: arch-btw