Pacman is BLOATING Up My System! (Cleaning the cache in Arch Linux)
Eric Murphy
Is your disk space constantly getting filled up by pacman's bottomless cache in Arch Linux? In this video, I'll teach you how to clear the cache with paccache, save old versions of packages in case of breakage, and how to automate the whole process. As a bonus, I'll even show you how to automatically clean up after your AUR helper (e.g. paru or yay), too. You'll never have to worry about your package manager bloating your package cache to infinity again...
My paccache-clear script: https://gist.github.com/ericmurphyxyz/37baa4c9da9d3b057a522f20a9ad6eba luukvbaal's pacman hooks: https://gist.github.com/luukvbaal/2c697b5e068471ee989bff8a56507142 albertored11's script: https://gist.github.com/albertored11/bfc0068f4e43ca0d7ce0af968f7314db
Watch my videos on Odysee: https://odysee.com/@ericnmurphy My website: https://ericmurphy.xyz My GitHub: https://github.com/ericmurphyxyz
0:00 Intro 1:59 Checking the size of your pacman cache 2:29 Clearing your cache with pacman -Sc 3:35 Using paccache to save past versions 5:49 Cleaning your AUR helper cache (e.g. yay or paru) 6:54 Creating a script to automate 8:38 Automating the cleanup with a cron job 9:20 Automating cleanup with a pacman hook 10:46 Conclusion ... https://www.youtube.com/watch?v=wp3LfWwCrZE
35164666 Bytes