Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yum Install libhdf5-dev on Amazon Linux

I am working on deploying project that uses hdf5 as a dependency: http://docs.h5py.org/en/latest/build.html And I am having a devil of a time install one of the dependencies for my elastic beanstalk deployment.

HDF5 1.8.4 or newer, shared library version with development headers (libhdf5-dev or similar)

Yum cannot seem to find it no matter the options:

"No package libhdf5-serial-dev available. No package libhdf5-dev. No package libhdf5-devel. No package hdf5-tools available."

Any pointers on what command I can run during deployment to get this install would be great.

like image 330
Pylander Avatar asked Oct 07 '16 23:10

Pylander


2 Answers

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.

like image 186
Alan Xie Avatar answered Oct 07 '22 18:10

Alan Xie


Try this:

sudo yum install –y epel-release
sudo yum-config-manager --enable epel
sudo yum install hdf5-devel

It works for me.

like image 20
Tushar Chauhan Avatar answered Oct 07 '22 18:10

Tushar Chauhan