How To Install hdf on Fedora 34

hdf is A general purpose library and file format for storing scientific data A general purpose library and file format for storing scientific data

Introduction

In this tutorial we learn how to install hdf on Fedora 34.

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. hdf 4.2.15 4.fc34 x86_64 631 k hdf-4.2.15-4.fc34.src.rpm fedora A general purpose library and file format for storing scientific data https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install hdf.

Install hdf on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

To uninstall only the hdf package we can use the following command:

sudo dnf remove hdf

hdf Package Contents on Fedora 34

/usr/bin/gif2hdf
/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/00
/usr/lib/.build-id/00/e156cba933a5dd7b544b0d4e3e78f23cfce0ee
/usr/lib/.build-id/05
/usr/lib/.build-id/05/4d1e4263e9af384ef39555460339bf38785dcc
/usr/lib/.build-id/06
/usr/lib/.build-id/06/286dfa98a411c927fbf1e089cb37cb7a1c9f0a
/usr/lib/.build-id/08
/usr/lib/.build-id/08/0239b5cd7535581132b78deb4f148f53ea843d
/usr/lib/.build-id/12
/usr/lib/.build-id/12/1efed8e293ea816f14c622427c72b09ea1f108
/usr/lib/.build-id/25
/usr/lib/.build-id/25/7a65bc64fddcc805c9fe850493e6e9f3a15460
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/abd31122a9f5f578b752ea6bb745bdb6c19bf3
/usr/lib/.build-id/41
/usr/lib/.build-id/41/3d574450e55241c88c1a4ed817ec8ba812def0
/usr/lib/.build-id/47
/usr/lib/.build-id/47/2a130780c01360d4e95e0c867376ccba304a1b
/usr/lib/.build-id/58
/usr/lib/.build-id/58/7f77e3f5c9a94885a84e26eb648bb939fed85c
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/8e4feaddb7f6d743fb6586fd7775359f207df2
/usr/lib/.build-id/70
/usr/lib/.build-id/70/af6f7786cbe18abeb4bd6e19640547ec73b57b
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/6a1fa3c546d7afd4ad88ba4769a2e6bbf00f48
/usr/lib/.build-id/81
/usr/lib/.build-id/81/0fe3613ba796de1f96531bd03816b7eb0a6b50
/usr/lib/.build-id/87
/usr/lib/.build-id/87/8d33ab1060742ce3423b19b2c94d5f4a93f55d
/usr/lib/.build-id/90
/usr/lib/.build-id/90/80151458baa40c1aff48edac89f44bd3c3d0e8
/usr/lib/.build-id/96
/usr/lib/.build-id/96/0efbc8f9cc2b583d0999a36060063fe4d3d4ae
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/92bf06aa2e1e7e60b55a7c7c301d55e8528e64
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/b5a3b77374726fbb043e616470b89c2dff4c85
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/a14d9c03681b5213c5b6e26b6be5c975c94ff8
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/e5e84fa29314ea1afb5a7c689750b918be572c
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/601822235de907c8b24f4d7f9f9c46f3707012
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ebbdaf607fb037380c1f857e4d0304ed50c542
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/d3a4c3e3a6783b943712d0843b430e9d8fba8c
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/d8cc37bd1ed2f1be026e35e8ec0d4c385ac0ba
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/15324b5a27ca12549dc7c81c06a25480fe6f17
/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
/usr/bin/gif2hdf
/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/03
/usr/lib/.build-id/03/e74f6899926ee62966af9b5657207e6594b325
/usr/lib/.build-id/07
/usr/lib/.build-id/07/7f13ed576e7ff4263526b0611bd625040eb0e2
/usr/lib/.build-id/29
/usr/lib/.build-id/29/6566ab2c2f8180254f27fc22934cb98857c09f
/usr/lib/.build-id/31
/usr/lib/.build-id/31/1eecc364358a49f69d05201d7cdd8b953b423a
/usr/lib/.build-id/33
/usr/lib/.build-id/33/c1e461cabef3672e8bb246e50fbe215710d41b
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6631b0faa22af4c46bfa0b8ba2f092ba190496
/usr/lib/.build-id/47
/usr/lib/.build-id/47/93527f5469f3c599b8c7e5d764484e243ee610
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/6323242c6987f84f47b4d209ef69c852abcafc
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/f7d2b4dac1e08591624251c619a82cda3fd7ce
/usr/lib/.build-id/53
/usr/lib/.build-id/53/ab9a01eb7e0cf1800a4d8d293212664f034121
/usr/lib/.build-id/56
/usr/lib/.build-id/56/c3620ef5076f8e382b152de7d7394234cb639e
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/1024f47df2f7b150749cd5f0d9f57e3d9bc4ba
/usr/lib/.build-id/60
/usr/lib/.build-id/60/71061ee4182ce58abaee274df62237f5ea7ce3
/usr/lib/.build-id/70
/usr/lib/.build-id/70/75cb56d90af5616565682eb188bfe1dda93df9
/usr/lib/.build-id/71
/usr/lib/.build-id/71/08c3bdb51dbe2b75452c91ba0d381ec0e4c965
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/fb8c3f094836a03587593b0d2d646ed7408e98
/usr/lib/.build-id/81
/usr/lib/.build-id/81/f2be2b0ea12e0f5a27113102c59ef642b3ff8d
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/bf666ce41b44e1748a5e5c094d79fcf4d1b712
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7439c78460f689ea7b9a1cb04ce26f19a8b153
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/f4af164e6f4c29a69d7cf6c3843ab32c32966c
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/83a9f349aa5d98e80085af7ff6aaf8c8a2ea25
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/b86092237762baa2afde7f00263c7e474ad06b
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/4ba996706ea1bb9c590196173ccf1065b27a3a
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/6f036eb5954855d1bccf4172d7abbf8d44dd54
/usr/lib/.build-id/de
/usr/lib/.build-id/de/500f51b2382e1e84887bc2055cadacf89fb2fd
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/70816baed75df4706fd63485a6ead89dbac54a
/usr/lib/libdf.so.0
/usr/lib/libdf.so.0.0.0
/usr/lib/libmfhdf.so.0
/usr/lib/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 Fedora 34 using yum and dnf.