How To Install python3-h5py on AlmaLinux 8
Introduction
In this tutorial we learn how to install python3-h5py
on AlmaLinux 8.
What is python3-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 python3-h5py
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-h5py.
Install python3-h5py on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-h5py
using dnf
by running the following command:
sudo dnf -y install python3-h5py
Install python3-h5py on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-h5py
using yum
by running the following command:
sudo yum -y install python3-h5py
How To Uninstall python3-h5py on AlmaLinux 8
To uninstall only the python3-h5py
package we can use the following command:
sudo dnf remove python3-h5py
References
Summary
In this tutorial we learn how to install python3-h5py
on AlmaLinux 8 using yum and dnf.