문제

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?

도움이 되었습니까?

해결책 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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top