Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux – yum放在哪里提升?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我在我的 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 hostfi
我在我的 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无法找到的文件的另一个目标?

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

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

编辑

我也忽略了安装标题

$sudo yum install boost-devel.x86_64

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

$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存储库的工具,而不是已安装的包.

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

大佬总结

以上是大佬教程为你收集整理的linux – yum放在哪里提升?全部内容,希望文章能够帮你解决linux – yum放在哪里提升?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。