English 中文(简体)
如何找到安帕曼安装的包件?
原标题:How to find where a package is installed by pacman?

通过<代码>pacman-Ssrove-libs安装C++增强图书馆。 在安装后,我想知道我的包裹安装在我的系统中。

难道有哪怕是哪怕是哪怕是哪里?

最佳回答

pacman with the -Q flag, can display the installed location of the package. See pacman -Q --help for the respective suboptions of -Q flag.

The -Q flag is used to search for already installed packages.
The -F flag is used to search for remote packages. (as Liang Zhou mentioned)

pacman -Qh # Print help info
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.

截至今天,在<代码>pacman v6.0中,指挥略有改动:pacman - 包裹-名称 而不是<条码> - 包装材料——名称





相关问题
如何找到安帕曼安装的包件?

I m 安装C++, 增强图书馆的能力。 在安装后,我想知道我的包裹安装在我的系统中。

Rebuilding a Newer Version of a Deb Package

What s the best way to update (rebuild) a Debian/Ubuntu-package to a more recent version? Should I be using apt source in all cases including when I want to publish it as Personal Package Archive? I ...

Ruby Enterprise fails to compile with GCC 4.5

Ruby Enterprise Edition fails to compile from sources with GCC 4.5, but sucessfully compiles with 4.3.3. Actually, not sure if it s about GCC, but, in fact, i686 Arch linux system with laest updates ...

热门标签