Yum Install libhdf5-dev on Amazon Linux
Given that Amazon Linux is a modification of RHEL - so the package manager is yum.
The development lib of hdf5 for CentOS is hdf5-devel
:
For CentOS
yum -y install hdf5-devel
The current version is (which will get installed) 1.8.12
For Ubuntu:
sudo apt-get install libhdf5-dev
On Amazon Elastic Beanstalk, I can't install hdf5 using any of the listed package names. You have to run sudo yum-config-manager --enable epel
first in order to add extra packages to your configuration.
Try this:
sudo yum install –y epel-release
sudo yum-config-manager --enable epel
sudo yum install hdf5-devel
It works for me.