You are not logged in.
Hello fellow archers.
How do I check where pacman installed a package without having to look for the PKGBUILD manually?
It's annoying to hunt where a binary is put in after package installation.
Thanks in advance.
Offline
The PKGBUILD wouldn't help anyway.
You can list all files belonging to a package like this:
pacman -Ql <pkg_name>
To find the binaries, this should do the trick:
pacman -Ql <pkg_name> | grep -P '^\S+ (\/usr)?\/bin'
Last edited by Xyne (2008-10-26 23:33:43)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
why not
pacman -Ql <pkg_name> | grep '/usr/bin'
It's easier to remember and to type...
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
Wow thanks! I was reading the man on --info can't believe how I missed -l just under it.
Well I did hunt a bin based on install directory variable in a PKGBUILD before. Painful.
Offline
ooops, hit 'quote' instead of 'edit'
Last edited by Xyne (2008-10-27 00:13:32)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
arkham wrote:why not
pacman -Ql <pkg_name> | grep '/usr/bin'
It's easier to remember and to type...
That would miss all binaries in '/bin'.
The best might be to use
pacman -Ql <pkg_name> | grep '/bin'
and just visually filter anything that happens to be on a path with a bin* dir in it (/home/grandma/bingo_cards/etc)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline