Pacman info

I have really become addicted to using the -Qo flag of pacman. This is especially true with the various times I have had to do the painful /usr/lib move, as you need to figure out which package owns the files that are left in /lib. It’s pretty easy, really

$ pacman -Qo /usr/lib/
/usr/lib/ is owned by qt 4.8.2-3

Very nice. And, even better, I found out you can just omit the full path if it is an executable in your path:

$ pacman -Qo hostname
/usr/bin/hostname is owned by inetutils 1.9.1-4


Leave a Reply