How To Install hdf on CentOS 7
Introduction
In this tutorial we learn how to install hdf on CentOS 7.
What is hdf
HDF is a general purpose library and file format for storing scientific data. HDF can store two primary objects groups. A dataset is essentially a multidimensional array of data elements, and a group is a structure for organizing objects in an HDF file. Using these two basic objects, one can create and store almost any kind of scientific data structure, such as images, arrays of vectors, and structured and unstructured grids. You can also mix and match them in HDF files according to your needs.
We can use yum or dnf to install hdf on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install hdf.
Install hdf on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install hdf using yum by running the following command:
sudo yum -y install hdf
Install hdf 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.
sudo dnf makecache
After updating yum database, We can install hdf using dnf by running the following command:
sudo dnf -y install hdf
How To Uninstall hdf on CentOS 7
To uninstall only the hdf package we can use the following command:
sudo dnf remove hdf
References
Summary
In this tutorial we learn how to install hdf on CentOS 7 using yum and dnf.