How To Install hdf5 on Fedora 34

hdf5 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 hdf5 on Fedora 34.

What is hdf5

HDF5 is a general purpose library and file format for storing scientific data. HDF5 can store two primary objects essentially a multidimensional array of data elements, and a group is a structure for organizing objects in an HDF5 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 HDF5 files according to your needs. hdf5 1.10.6 5.fc34 x86_64 2.0 M hdf5-1.10.6-5.fc34.src.rpm fedora A general purpose library and file format for storing scientific data https BSD HDF5 is a general purpose library and file format for storing scientific data. HDF5 can store two primary objects essentially a multidimensional array of data elements, and a group is a structure for organizing objects in an HDF5 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 HDF5 files according to your needs.

We can use yum or dnf to install hdf5 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install hdf5.

Install hdf5 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 hdf5 using dnf by running the following command:

sudo dnf -y install hdf5

Install hdf5 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 hdf5 using yum by running the following command:

sudo yum -y install hdf5

How To Uninstall hdf5 on Fedora 34

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

sudo dnf remove hdf5

hdf5 Package Contents on Fedora 34

/usr/bin/gif2h5
/usr/bin/h52gif
/usr/bin/h5clear
/usr/bin/h5copy
/usr/bin/h5debug
/usr/bin/h5diff
/usr/bin/h5dump
/usr/bin/h5format_convert
/usr/bin/h5import
/usr/bin/h5jam
/usr/bin/h5ls
/usr/bin/h5mkgrp
/usr/bin/h5perf_serial
/usr/bin/h5repack
/usr/bin/h5repart
/usr/bin/h5stat
/usr/bin/h5unjam
/usr/bin/h5watch
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/2122b8eabcb8fb36e77597cf9238b4110db067
/usr/lib/.build-id/09
/usr/lib/.build-id/09/d1c00cf8272b6ca926760e011bef3bc8d7d520
/usr/lib/.build-id/20
/usr/lib/.build-id/20/67e62bf9ad067d909db1755346318352b60e0d
/usr/lib/.build-id/22
/usr/lib/.build-id/22/28cea50d6195c53ea5ed993b942e1322b1f5d1
/usr/lib/.build-id/26
/usr/lib/.build-id/26/1150d4013375a94789480eaa718fda3c1fa9a6
/usr/lib/.build-id/34
/usr/lib/.build-id/34/4e41b46a067af768c73e5d650717e096f8292f
/usr/lib/.build-id/35
/usr/lib/.build-id/35/5562b05ad0da3e80739d0d997d32a457f6a10d
/usr/lib/.build-id/42
/usr/lib/.build-id/42/d2931e6de88df8ddd0e4a6b3f9eb2e272c54d4
/usr/lib/.build-id/56
/usr/lib/.build-id/56/a5b8301ff090d688cc6a3412ea8d069dbabd76
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/d30d996cd82eceda5031fe0b12fee094881329
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/dd5fbaee9174adc6ac2adf3e72459bce2df293
/usr/lib/.build-id/66
/usr/lib/.build-id/66/10cb76295df76f008466fc9aabcbc0551e6c6c
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/5368a47f34ff656bd574bfcd060a90707050d9
/usr/lib/.build-id/73
/usr/lib/.build-id/73/1f6ed1afb205d32aaccccd4a53b40e2fc33a7b
/usr/lib/.build-id/74
/usr/lib/.build-id/74/3934b6f4c6d92fa84c43c652493dfcd1b2b3b0
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/472df4d9f6c7feff9b3476f4dcadb34a06c224
/usr/lib/.build-id/87
/usr/lib/.build-id/87/24dfc07c6d375320e98157c3402fa4bb7dd375
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/cfebc68e191841918455395dcc794512c7bd2d
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/99a10bd7768948b5a86a62475673d2601b09c7
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/f70f5538e9e3e0fbfa98c0abd80007f7c9c86c
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/77af7b489554573e6c2f7906f7e2dc3fa2a1ec
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/4ff9d65c2ea45263cea4ddd32aeb1c76da780d
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/20dc60d0b70a7e9eb817759d33ec5783ec3729
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/982903395c30b70e2250e2e3102f0336b66cde
/usr/lib64/libhdf5.so.103
/usr/lib64/libhdf5.so.103.2.0
/usr/lib64/libhdf5_cpp.so.103
/usr/lib64/libhdf5_cpp.so.103.2.0
/usr/lib64/libhdf5_fortran.so.102
/usr/lib64/libhdf5_fortran.so.102.0.1
/usr/lib64/libhdf5_hl.so.100
/usr/lib64/libhdf5_hl.so.100.1.3
/usr/lib64/libhdf5_hl_cpp.so.100
/usr/lib64/libhdf5_hl_cpp.so.100.1.4
/usr/lib64/libhdf5hl_fortran.so.100
/usr/lib64/libhdf5hl_fortran.so.100.0.5
/usr/share/doc/hdf5
/usr/share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt
/usr/share/doc/hdf5/HISTORY-1_10.txt
/usr/share/doc/hdf5/HISTORY-1_8.txt
/usr/share/doc/hdf5/HISTORY-1_8_0-1_10_0.txt
/usr/share/doc/hdf5/MANIFEST
/usr/share/doc/hdf5/README.txt
/usr/share/doc/hdf5/RELEASE.txt
/usr/share/licenses/hdf5
/usr/share/licenses/hdf5/COPYING
/usr/share/man/man1/gif2h5.1.gz
/usr/share/man/man1/h52gif.1.gz
/usr/share/man/man1/h5copy.1.gz
/usr/share/man/man1/h5diff.1.gz
/usr/share/man/man1/h5dump.1.gz
/usr/share/man/man1/h5import.1.gz
/usr/share/man/man1/h5jam.1.gz
/usr/share/man/man1/h5ls.1.gz
/usr/share/man/man1/h5mkgrp.1.gz
/usr/share/man/man1/h5perf_serial.1.gz
/usr/share/man/man1/h5repack.1.gz
/usr/share/man/man1/h5repart.1.gz
/usr/share/man/man1/h5stat.1.gz
/usr/share/man/man1/h5unjam.1.gz
/usr/bin/gif2h5
/usr/bin/h52gif
/usr/bin/h5clear
/usr/bin/h5copy
/usr/bin/h5debug
/usr/bin/h5diff
/usr/bin/h5dump
/usr/bin/h5format_convert
/usr/bin/h5import
/usr/bin/h5jam
/usr/bin/h5ls
/usr/bin/h5mkgrp
/usr/bin/h5perf_serial
/usr/bin/h5repack
/usr/bin/h5repart
/usr/bin/h5stat
/usr/bin/h5unjam
/usr/bin/h5watch
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/f4dbb45fce908ccdd60362d7c2685f15469f82
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/b77c40b69bff0abba618862adb0e563e6f4917
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/0a2792e97ebb6231f2c2a3fb0b8dcd1b05aec8
/usr/lib/.build-id/21
/usr/lib/.build-id/21/54f0594ed648b64dcc55894c4fe720c95e5309
/usr/lib/.build-id/29
/usr/lib/.build-id/29/03496675d76a352b3ecf2faf7a7a3e6041076b
/usr/lib/.build-id/37
/usr/lib/.build-id/37/cf9cfc5821d805c807e27f19ac4c4ce1e28435
/usr/lib/.build-id/38
/usr/lib/.build-id/38/fd649b3417a0bfe47ff8544166d573b87bb340
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/f78c96336841b902ad19c1c83b0f549fb3fc2e
/usr/lib/.build-id/45
/usr/lib/.build-id/45/4e7a5b633a19fe7f0d1fc4c5824c7564ad5b79
/usr/lib/.build-id/47
/usr/lib/.build-id/47/75476d91624779ea60fa724d08db2967d85a16
/usr/lib/.build-id/53
/usr/lib/.build-id/53/88afc1eff829ad2dd06523e7da43c3cb8daeaa
/usr/lib/.build-id/60
/usr/lib/.build-id/60/04b6b79fcf708ebeb139aea73307fe81dc3ce9
/usr/lib/.build-id/68
/usr/lib/.build-id/68/bb16f44adc0d1a44be82cc48685bb05dab4ee9
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/99218dbc98a34807db1ba1d08b3cd7625f2dc2
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/46f31456c81ec2406faccab1ca772bc9bfa3cd
/usr/lib/.build-id/be
/usr/lib/.build-id/be/0dea598af5624f1dba474628f71cb139e950c2
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/9014952d4db25b6c559214b08ee6719cf10f83
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/d261ed856d8f56cfbb1f2319748b7cabfa2bb0
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/e409ab7ebd513ab8f22ee2594ddd386775d66a
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/60a87b1bd691a237f6ac6f663650a60baa4bca
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/242ed12cc13066af12ff40d410eb2894fd518d
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/8e2929b82093972c1bbf6655cc42f27152c05c
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/d941b1181eb23b1b6162475d8fe2fa006f22d3
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/0a3d6a46b4c6c49ad43fc6d744bcd85bf1be15
/usr/lib/libhdf5.so.103
/usr/lib/libhdf5.so.103.2.0
/usr/lib/libhdf5_cpp.so.103
/usr/lib/libhdf5_cpp.so.103.2.0
/usr/lib/libhdf5_fortran.so.102
/usr/lib/libhdf5_fortran.so.102.0.1
/usr/lib/libhdf5_hl.so.100
/usr/lib/libhdf5_hl.so.100.1.3
/usr/lib/libhdf5_hl_cpp.so.100
/usr/lib/libhdf5_hl_cpp.so.100.1.4
/usr/lib/libhdf5hl_fortran.so.100
/usr/lib/libhdf5hl_fortran.so.100.0.5
/usr/share/doc/hdf5
/usr/share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt
/usr/share/doc/hdf5/HISTORY-1_10.txt
/usr/share/doc/hdf5/HISTORY-1_8.txt
/usr/share/doc/hdf5/HISTORY-1_8_0-1_10_0.txt
/usr/share/doc/hdf5/MANIFEST
/usr/share/doc/hdf5/README.txt
/usr/share/doc/hdf5/RELEASE.txt
/usr/share/licenses/hdf5
/usr/share/licenses/hdf5/COPYING
/usr/share/man/man1/gif2h5.1.gz
/usr/share/man/man1/h52gif.1.gz
/usr/share/man/man1/h5copy.1.gz
/usr/share/man/man1/h5diff.1.gz
/usr/share/man/man1/h5dump.1.gz
/usr/share/man/man1/h5import.1.gz
/usr/share/man/man1/h5jam.1.gz
/usr/share/man/man1/h5ls.1.gz
/usr/share/man/man1/h5mkgrp.1.gz
/usr/share/man/man1/h5perf_serial.1.gz
/usr/share/man/man1/h5repack.1.gz
/usr/share/man/man1/h5repart.1.gz
/usr/share/man/man1/h5stat.1.gz
/usr/share/man/man1/h5unjam.1.gz

References

Summary

In this tutorial we learn how to install hdf5 on Fedora 34 using yum and dnf.