How To Install hdf on CentOS 8
Introduction
In this tutorial we learn how to install hdf
on CentOS 8.
What is hdf
HDF4 is a general purpose library and file format for storing scientific data. HDF4 can store two primary objects essentially a multidimensional array of data elements, and a group is a structure for organizing objects in an HDF4 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 HDF4 files according to your needs.
We can use yum
or dnf
to install hdf
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install hdf.
Install hdf on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install hdf
using dnf
by running the following command:
sudo dnf -y install hdf
Install hdf on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install hdf
using yum
by running the following command:
sudo yum -y install hdf
How To Uninstall hdf on CentOS 8
To uninstall only the hdf
package we can use the following command:
sudo dnf remove hdf
hdf Package Contents on CentOS 8
/usr/bin/gif2hdf
/usr/bin/h4cc
/usr/bin/h4fc
/usr/bin/h4redeploy
/usr/bin/hdf24to8
/usr/bin/hdf2gif
/usr/bin/hdf2jpeg
/usr/bin/hdf8to24
/usr/bin/hdfcomp
/usr/bin/hdfed
/usr/bin/hdfimport
/usr/bin/hdfls
/usr/bin/hdfpack
/usr/bin/hdftopal
/usr/bin/hdftor8
/usr/bin/hdfunpac
/usr/bin/hdiff
/usr/bin/hdp
/usr/bin/hncdump
/usr/bin/hncgen
/usr/bin/hrepack
/usr/bin/jpeg2hdf
/usr/bin/paltohdf
/usr/bin/r8tohdf
/usr/bin/ristosds
/usr/bin/vmake
/usr/bin/vshow
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/2ebd221c5146c602a71aef135c3037d614e99e
/usr/lib/.build-id/13
/usr/lib/.build-id/13/56e7d7d2a88394776bbe856670020b46432717
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/52e5cb062efdb240a6a3bbbf9631e20fb55aea
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/8b92a44b6c05c4484e80fbf2ac56423c39aadf
/usr/lib/.build-id/24
/usr/lib/.build-id/24/7dc4f5ed5b041a099d9d14b74761e2d10b7fc8
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/93ac19eb802a50996e53f50aa86427fcc93981
/usr/lib/.build-id/33
/usr/lib/.build-id/33/536f7aa44b2b1e1d22bc0ace4f16703cbb875d
/usr/lib/.build-id/35
/usr/lib/.build-id/35/912a942b6c18ebb01d30bb4f35d14b474d6bdb
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/23db7d36b80d744eff3445e361cdeb1e2fe03f
/usr/lib/.build-id/48
/usr/lib/.build-id/48/99cc98d43de5b6dc15303f55e587e3c1da4446
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/52d251fae3a59be82670a85d0c34dc1bb98fd3
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/585fe8693f69a3c46eef9513113de463c40de7
/usr/lib/.build-id/88
/usr/lib/.build-id/88/8f6dfa248d81dd8b715f87b9db659e4d7e4b21
/usr/lib/.build-id/96
/usr/lib/.build-id/96/6198785c81dadd2a89f1e8bb0dc73c94a72b42
/usr/lib/.build-id/97
/usr/lib/.build-id/97/a2a21372d96ac6f44f8038d7a64a88f34f03fc
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/43c80e549aec835ae9ad15333e85eb58dd045c
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/1acb151e636c0f926ed22c36a5c658a244a637
/usr/lib/.build-id/b2/e2d4e3f751e9b1973d9516b854a4ee110cb2b4
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/bbab3708d46ab88f0eacbcaf5150125621aa46
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/a9fffce42bc150cebf454a9cd81c4a03453c1e
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/436db1511f944577fdbc06fe576bffd6170328
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/95c75be8d028a350210e07d6337fef0b016b33
/usr/lib/.build-id/df
/usr/lib/.build-id/df/f170238acf7cd7f2978aa9bcbaae64340ea0dc
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/1dd4f8cf82ded52c9ca393716dd5510a60e5d7
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/c800087914aae994cac855c4ed441126aab4e0
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/ddd10c80fce8a0d15da8ca519e6896d5978ff0
/usr/lib64/libdf.so.0
/usr/lib64/libdf.so.0.0.0
/usr/lib64/libmfhdf.so.0
/usr/lib64/libmfhdf.so.0.0.0
/usr/share/doc/hdf
/usr/share/doc/hdf/HISTORY.txt
/usr/share/doc/hdf/INSTALL_CMake.txt
/usr/share/doc/hdf/INSTALL_CYGWIN.txt
/usr/share/doc/hdf/INSTALL_WINDOWS.txt
/usr/share/doc/hdf/MANIFEST
/usr/share/doc/hdf/README.txt
/usr/share/doc/hdf/RELEASE.txt
/usr/share/doc/hdf/USING_CMake_Examples.txt
/usr/share/doc/hdf/USING_HDF4_CMake.txt
/usr/share/doc/hdf/USING_HDF4_VS.txt
/usr/share/doc/hdf/bugs_fixed.txt
/usr/share/doc/hdf/misc_docs.txt
/usr/share/licenses/hdf
/usr/share/licenses/hdf/COPYING
/usr/share/man/man1/hdf.1.gz
References
Summary
In this tutorial we learn how to install hdf
on CentOS 8 using yum and dnf.