You are not logged in.
Pages: 1
Topic closed
Hello, I've installed a lot of different software, made a lot of changes and now my system is not the arch way(not so lightweight) I have a lot of orphans, useless software and certainly too many .folders in my /home.
What are the ways to clean all that mess?
Offline
pacman -Syy
pacman -Scc
pacman -Suu
pacman -Rscnd <program>
/me wants you to detele this account... please delete it.
Offline
Also try:
pacman -Rsn $(pacman -Qdtq)
Offline
After anon's suggestion, try:
pacman -Qei | awk '/^Name/ { name=$3 } /^Groups/ { if ( $3 != "base" && $3 != "base-devel" ) { print name } }'
That will show you every package you've explicitly installed. Except for packages belonging in the "base" and "base-devel" groups, the packages that were initially installed when you installed Arch.
I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.
Offline
Lets say I install a package with tons of dependencies and want to remove that package along with all the dependencies. How would I do that? I find that I have a lot of useless libraries installed as leftover dependencies.
How's my programming? Call 1-800-DEV-NULL
Offline
To remove a package and any unused dependencies use:
pacman -Rs package_name
Offline
Thanks anonymous_user! I really got to start brushing up my pacman skills.
How's my programming? Call 1-800-DEV-NULL
Offline
And what about those unused .directories in /home like .wine .kdemod4 and huge /usr/ directory?
Offline
If the folder/file was installed as part of the package then it should be removed when you uninstall. Also pacman doesn't remove any configuration files inside your home folder.
Last edited by anonymous_user (2010-01-17 20:33:22)
Offline
Also try:
pacman -Rsn $(pacman -Qdtq)
That can cause all sorts of problems. Life is much more simple to to run something like 'pacman -Qdtq > orphans', then go through the orphans file and find out if they actually are things that can be removed. For instance on my machine:
~ > pacman -Qdtq
cvs
gcc
happy
perl-digest-sha1
perl-mp3-info
perl-timedate
perl-unicode-string
gcc and happy are programs that I use daily. cvs is back on because I was working on something. The perl stuff probably got pulled in when I was playing with gnupod.
Offline
And I just got rid of 700mb by doing a pacman -Q and going through everything... Tedious, but the system booted again
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
this is the way, i keep my system clean:
pacman -Qqet --> lists all explicitly installed packages
pacman -Qqdt --> lists all packages which are orphans
http://archlinux.spider007.net/pacman-f … unowned.sh --> this script lists all files which might be missing, corrupted packages and files which can't be assigned to any installed package
http://bbs.archlinux.org/viewtopic.php?id=51080&p=1
Offline
sudo pacman -Q > installed.txt
Is good to output all installed programs into a .txt file for you to browse at your leisure.
Offline
coolestgeek: please don't necrobump threads:
https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed