RedHat, which package provides hdf5.h

最后都变了- 提交于 2019-12-11 16:16:45

问题


Using 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.

I mean to have hdf5.h.

In another Ubuntu system 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 I can do

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

In RedHat I executed

# 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

and

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

(no output).

I Googled "redhat which package provides hdf5.h", and I found https://rpmfind.net/linux/RPM/dag/redhat/el6/x86_64/hdf5-devel-1.8.7-1.el6.rf.x86_64.html I wonder whether this is correct, and whether there is another alternative, similar to that in Ubuntu, to look for the info at the command line.

How can I tell which package to install to get the corresponding header under RedHat?

来源:https://stackoverflow.com/questions/48170542/redhat-which-package-provides-hdf5-h

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!