You are not logged in.
Pages: 1
Hello fellow Archers,
I have been experimenting a lot lately with different packages; pacman -Sing and yogurt -Sing then pacman -Rsing it when I decide I don't like it. The problem is, now my filesystem is full of files from the unused packages. Is there a a safe way to clean my Arch system without going through each file one by one? I'm very into keeping my system sleek and lean as possible, so I really don't want anything I don't use on here.
Thanks in advance,
Soupstuffs
Offline
pacman -Sc cleans the package cache from every package you don't have installed. Do this when you have a stable system because you won't be able to downgrade packages from the cache.
Offline
If I do that, will it also clean up unused crap in places like the /opt folder, or will I just have to go in an rm them?
Offline
pacman -R <some_pkg> removes all files that were installed with pacman -S <some_pkg>. If you have files in /opt or anywhere else that you think should have been removed with a pacman -R, pacman is able to tell you which installed package they belong to. If they don't belong to any package, then they weren't installed by pacman, so it's up to you to decide what to do with them.
Offline
Thank you. I read that in the Wiki, but I wasn't sure if I understood it correctly beause it didn't seem to work for me with certain packages (Virtualbox, PCManFM).
Offline
If you don't like the ".pacsave" files, use the "-n" flag to pacman.
Offline
Offline
Pages: 1