Pacman is BLOATING Up My System! (Cleaning the cache in Arch Linux)

Опубликовано: 24 Октябрь 2022
на канале: Eric Murphy
8,635
323

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...
luukvbaal's pacman hooks: https://gist.github.com/luukvbaal/2c6...
albertored11's script: https://gist.github.com/albertored11/...

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


Смотрите видео Pacman is BLOATING Up My System! (Cleaning the cache in Arch Linux) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Eric Murphy 24 Октябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,635 раз и оно понравилось 323 людям.