How to find where a package is installed by pacman?
Solution 1:
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.
Solution 2:
pacman -Q boost-libs #Display version
pacman -Ql boost-libs #Display file list provided by local package
pacman -Qk boost-libs #Check the local package database
pacman -Qo /path/to/file #Check if the file is owned by any package
Solution 3:
As of today, in pacman
v6.0, the command is slightly changed: pacman -Fl package-name
rather than pacman -Ql package-name