I have followed instructions from their site. The command ls /usr/local/hdf5 returns

bin include lib share


dpkg -s hdf5
dpkg-query: package 'hdf5' is not installed and no information is available

Why? I have downloaded from here https://www.hdfgroup.org/HDF5/release/obtainsrc.html#conf and then I have followed the INSTALL file instructions,from make to make install. How can I know for sure that HDF5 in installed or not?

  • Could you reference the instructions you followed? If you have downloaded the source code and compiled it on your own, it's not common that a debian package is built automatically. – Thomas Jun 6 '16 at 14:42
  • What distribution are you using? I can see it is Debian based, I just want to know which distro repository you would install it from. – Peschke Jun 6 '16 at 15:41
  • @ElixirofLove I have downloaded from hdfgropup site,hdf5.1.8.17.tar.gz – MikiBelavista Jun 6 '16 at 17:23
  • As @Thomas stated above: Since you compiled hdf5 from source, dpkg will not know it is installed onto your system. – Peschke Jun 6 '16 at 17:26

The actual name of the hdf5 installation package is "libhdf5-dev" (not "hdf5"). Running the following command should return package information.

dpkg -s libhdf5-dev

If that doesn't give any results, you can check for any hdf5 installation by doing:

dpkg -l | grep hdf5
| improve this answer | |

You can try running h5cc -showconfig:


General Information:

           HDF5 Version: 1.8.12
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.