You are not logged in.
Pages: 1
Hey. So before I really know all of the pacman command variations I was installing apps and removing them without realised I'd need to remove all of their dependencies too. So now I have these dependencies that none of my applications require and they're unnecessarily taking up space.
So my question is, is there a way (command?) to remove all dependencies that are not used by any applications, without actually knowing which dependencies are not being used?
Cheers.
Last edited by Sly (2010-03-31 17:20:08)
Offline
Offline
Like this:
# for i in `pacman -Qdt |awk '{print $1}'`; do sudo pacman -Rs $i; done
Regards.
Last edited by davidoffbeat (2010-03-31 18:16:27)
Offline
Like this:
# for i in `pacman -Qdt |awk '{print $1}'`; do sudo pacman -Rs $i; done
Regards.
or pacman -Rs $(pacman -Qdtq)
Give what you have. To someone, it may be better than you dare to think.
Offline
Pages: 1