How to find where a package is installed by pacman?

pgplus1628 picture pgplus1628 · Mar 27, 2014 · Viewed 43.6k times · Source

I'm installing c++ boost library by pacman -Ss boost-libs. After installation, I want to know where my package is installed in my system.

Is there any pacman command for doing so?

Answer

arbulgazar picture arbulgazar · Mar 27, 2014

I am not on my arch now to check, but I bet pacman -Ql boost-libs or pacman -Qk boost-libs will do the trick by providing you with the list of files installed by the package.