title: RedHat, which package provides hdf5.h
body: <p>Using RedHat <code>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</code>.</p>
  
  <p>I mean to have <code>hdf5.h</code>.</p>
  
  <p>In another Ubuntu system <code>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</code>
  I can do</p>
  
  <pre><code>$ dpkg -S /usr/include/hdf5.h
  libhdf5-openmpi-dev: /usr/include/hdf5.h
  </code></pre>
  
  <p>In RedHat I executed</p>
  
  <pre><code># 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
  </code></pre>
  
  <p>and</p>
  
  <pre><code># repoquery --whatprovides "*/hdf5.h"
  </code></pre>
  
  <p>(no output).</p>
  
  <p>I Googled "redhat which package provides hdf5.h",
  and I found <a href="https://rpmfind.net/linux/RPM/dag/redhat/el6/x86_64/hdf5-devel-1.8.7-1.el6.rf.x86_64.html" rel="nofollow noreferrer">https://rpmfind.net/linux/RPM/dag/redhat/el6/x86_64/hdf5-devel-1.8.7-1.el6.rf.x86_64.html</a>
  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.</p>
  
  <p><strong>How can I tell which package to install to get the corresponding header under RedHat?</strong></p>