Five ways to free up rootfs in Arch Linux
Cleanup Pacman cache
paccache -k 0 -r
Cleanup orphan packages
pac -Qtd
Cleanup journal
journalctl --vaccum-time=1w
- Set max disk capacity for journals
- Change SystemMaxUse to 100M in /etc/systemd/journald.conf
Then restart journald service
sudo systemctl restart systemd-journald.service
- Use ncdu to see which file uses most of the disk
- Cleanup unused fonts