Maintaining Archlinux Cache
Archlinux is generally easy to update by running sudo pacman -Syu
but after awhile you may find that your hard drive seems to be getting full. The
wiki
has all the same information but I wanted to remind myself of what I did.
Install
pacman-contrib
to get the paccache
command then setup a cron job.
pacman -Syu pacman-contrib
cat > /etc/cron.weekly/1paccache << EOF
/usr/bin/paccache -r --min-atime "1 day ago" -k 1
EOF
chmod +x /etc/cron.weekly/1paccache