How To Install h5py on CentOS 7
Introduction
In this tutorial we learn how to install h5py
on CentOS 7.
What is h5py
The h5py package provides both a high- and low-level interface to the HDF5 library from Python. The low-level interface is intended to be a complete wrapping of the HDF5 API, while the high-level component supports access to HDF5 files, data sets and groups using established Python and NumPy concepts. A strong emphasis on automatic conversion between Python (Numpy) data types and data structures and their HDF5 equivalents vastly simplifies the process of reading and writing data from Python.
We can use yum
or dnf
to install h5py
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install h5py.
Install h5py on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install h5py
using yum
by running the following command:
Install h5py on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install h5py
using dnf
by running the following command:
How To Uninstall h5py on CentOS 7
To uninstall only the h5py
package we can use the following command:
References
Summary
In this tutorial we learn how to install h5py
on CentOS 7 using yum
and dnf
.