RedHat,哪个包提供hdf5.h

时间:2018-01-09 14:38:28

标签: linux ubuntu redhat package-managers

使用RedHat Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

我的意思是hdf5.h

在另一个Ubuntu系统中Linux 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 我能做到

$ dpkg -S /usr/include/hdf5.h
libhdf5-openmpi-dev: /usr/include/hdf5.h

在RedHat中我执行了

# yum whatprovides "*/hdf5.h"
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
clone-3-rhel-x86_64-server-supplementary-6/filelists                                                           | 931 kB     00:00
clone-3-rhn-tools-rhel-x86_64-server-6/filelists                                                               | 159 kB     00:00
clone-3-ypf-tools-server-6/filelists                                                                           |  61 kB     00:00
clone-rhel-x86_64-server-6/filelists                                                                           |  51 MB     00:04
clone-rhel-x86_64-server-ha-6/filelists                                                                        | 139 kB     00:00
clone-rhel-x86_64-server-optional-6/filelists                                                                  | 2.0 MB     00:00
rhel-x86_64-rhev-mgmt-agent-6-2013-07-05/filelists                                                             |  43 kB     00:00
No Matches found

# repoquery --whatprovides "*/hdf5.h"

(无输出)。

我用谷歌搜索" redhat哪个包提供了hdf5.h", 我找到了https://rpmfind.net/linux/RPM/dag/redhat/el6/x86_64/hdf5-devel-1.8.7-1.el6.rf.x86_64.html 我想知道这是否正确,是否有另一种替代方法,类似于Ubuntu中的方法,在命令行中查找信息。

如何判断要安装哪个软件包以获取RedHat下的相应标头?

0 个答案:

没有答案