linux – yum放在哪里提升?

前端之家收集整理的这篇文章主要介绍了linux – yum放在哪里提升?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在我的 Linux系统上安装了boost.x86_64:
  1. $sudo yum install boost.x86_64
  2. Loaded plugins: fastestmirror,langpacks,presto,refresh-packagekit
  3. Adding en_US to language list
  4. Loading mirror speeds from cached hostfile
  5. * fedora: mirror.uoregon.edu
  6. * updates: mirror.uoregon.edu
  7. Setting up Install Process
  8. Package boost-1.44.0-8.fc14.x86_64 already installed and latest version
  9. Nothing to do

但是当我查找boost文件时,我找不到它们:

  1. $sudo repoquery --list boost-1.44.0-8.fc14.x86_64
  2. $

这有点奇怪,因为我已经安装了它的几个依赖项:

  1. $sudo rpm -qa | grep boost
  2. boost-signals-1.44.0-8.fc14.x86_64
  3. boost-graph-1.44.0-8.fc14.x86_64
  4. boost-program-options-1.44.0-8.fc14.x86_64
  5. boost-system-1.44.0-8.fc14.x86_64
  6. boost-date-time-1.44.0-8.fc14.x86_64
  7. boost-wave-1.44.0-8.fc14.x86_64
  8. boost-serialization-1.44.0-8.fc14.x86_64
  9. boost-1.44.0-8.fc14.x86_64
  10. boost-thread-1.44.0-8.fc14.x86_64
  11. boost-test-1.44.0-8.fc14.x86_64
  12. boost-python-1.44.0-8.fc14.x86_64
  13. boost-regex-1.44.0-8.fc14.x86_64
  14. boost-random-1.44.0-8.fc14.x86_64
  15. boost-filesystem-1.44.0-8.fc14.x86_64
  16. boost-iostreams-1.44.0-8.fc14.x86_64

是否存在repoquery无法找到的文件的另一个目标?

我问的原因是我在我试图编译的软件工具中有一个boost依赖,并且它无法找到boost安装(并且显然也没有repoquery).

感谢您的任何建议或提示.

编辑

我也忽略了安装标题

  1. $sudo yum install boost-devel.x86_64

一旦我这样做,我可以找到这些标题

  1. $repoquery --list boost-devel.x86_64
  2. /usr/include/boost
  3. /usr/include/boost/accumulators
  4. /usr/include/boost/accumulators/accumulators.hpp
  5. /usr/include/boost/accumulators/accumulators_fwd.hpp
  6. /usr/include/boost/accumulators/framework
  7. /usr/include/boost/accumulators/framework/accumulator_base.hpp
  8. ...

解决方法

repoquery是一个工具,是查询yum存储库的工具,而不是已安装的包.

要查找程序包提供的文件,您需要:rpm -ql boost-1.44.0-8.fc14.x86_64

猜你在找的Linux相关文章