我在我的Linux系统上安装了boost.x86_64
:
$ sudo yum install boost.x86_64 Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Adding en_US to language list Loading mirror speeds from cached hostfile * fedora: mirror.uoregon.edu * updates: mirror.uoregon.edu Setting up Install Process Package boost-1.44.0-8.fc14.x86_64 already installed and latest version Nothing to do
但是当我查找boost文件时,找不到它们:
$ sudo repoquery --list boost-1.44.0-8.fc14.x86_64 $
这有点奇怪,因为我有提升和它的一些依赖项安装:
$ sudo rpm -qa | grep boost boost-signals-1.44.0-8.fc14.x86_64 boost-graph-1.44.0-8.fc14.x86_64 boost-program-options-1.44.0-8.fc14.x86_64 boost-system-1.44.0-8.fc14.x86_64 boost-date-time-1.44.0-8.fc14.x86_64 boost-wave-1.44.0-8.fc14.x86_64 boost-serialization-1.44.0-8.fc14.x86_64 boost-1.44.0-8.fc14.x86_64 boost-thread-1.44.0-8.fc14.x86_64 boost-test-1.44.0-8.fc14.x86_64 boost-python-1.44.0-8.fc14.x86_64 boost-regex-1.44.0-8.fc14.x86_64 boost-random-1.44.0-8.fc14.x86_64 boost-filesystem-1.44.0-8.fc14.x86_64 boost-iostreams-1.44.0-8.fc14.x86_64
还有另一个repoquery
无法find的文件的目的地吗?
我问的原因是我有一个我试图编译的软件工具的boost依赖项,它不能findboost安装(显然,也不可以repoquery
)。
感谢您的任何build议或提示。
编辑
我忽略了安装标题,以及:
$ sudo yum install boost-devel.x86_64
一旦我这样做,我可以find这些标题:
$ repoquery --list boost-devel.x86_64 /usr/include/boost /usr/include/boost/accumulators /usr/include/boost/accumulators/accumulators.hpp /usr/include/boost/accumulators/accumulators_fwd.hpp /usr/include/boost/accumulators/framework /usr/include/boost/accumulators/framework/accumulator_base.hpp ...
repoquery
是一个工具,是查询yum存储库的工具,而不是安装的包。
要find你的软件包提供的文件,你需要: rpm -ql boost-1.44.0-8.fc14.x86_64
locate boost
以为我会扔在locate
命令。 它似乎得到了更好的结果。