Question

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?

Was it helpful?

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

OTHER TIPS

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.

As of today, in pacman v6.0, the command is slightly changed: pacman -Fl package-name rather than pacman -Ql package-name

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top