How To Install hdf5 on Fedora 36

In this tutorial we learn how to install hdf5 in Fedora 36. hdf5 is A general purpose library and file format for storing scientific data

Introduction

In this tutorial we learn how to install hdf5 on Fedora 36.

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.

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

Install hdf5 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install hdf5 using dnf by running the following command:

sudo dnf -y install hdf5

Install hdf5 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove hdf5

hdf5 Package Contents on Fedora 36

---
title: "How To Install hdf5 on Fedora 36"
linkTitle: "hdf5"
type: "docs"
description: "In this tutorial we learn how to install hdf5 in Fedora 36. hdf5 is A general purpose library and file format for storing scientific data"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/hdf5-featured.png
---

## Introduction

In this tutorial we learn how to install `hdf5` on Fedora 36.

### 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.  

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

## Install hdf5 on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install hdf5 using dnf by running the following command:

sudo dnf -y install hdf5

Install hdf5 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove hdf5

hdf5 Package Contents on Fedora 36

/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/bin/mirror_server
/usr/bin/mirror_server_stop
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/a09b532d611fb2a15e9a14e8b02a5f40041746
/usr/lib/.build-id/15
/usr/lib/.build-id/15/c0182a45496297efd325a7a1c12fcbce5660ea
/usr/lib/.build-id/22
/usr/lib/.build-id/22/2a5f69a370a679b3daab85c3ca633f51d7f8b4
/usr/lib/.build-id/25
/usr/lib/.build-id/25/0c48c9d10a5fc06999ee47560a91aaad2ee5fb
/usr/lib/.build-id/25/627722f56372d41127304f232544a300f698d4
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/5fe839e7beed3e4ad137df774c3760cb091c7d
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/39889ec4a1d6f2455c584c0026321db4989209
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/902d78ddff89aac92593aa7d29168d53622aee
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/c17286139ac0607f72c440e11e2e36f99ce09f
/usr/lib/.build-id/58
/usr/lib/.build-id/58/206e22214f24ee30145b13b8fc217eee33af8a
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/5935f252635fc3186df950962c59062481b0cc
/usr/lib/.build-id/67
/usr/lib/.build-id/67/dc78f639255d7978bc3683f8780c72b07f975d
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/fdad251c3aabf84b08a3f466ce9be8fac7b1c6
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/39044703bedf4632b110209c3ab15aec44cda9
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/a4d052f747a97808be94a9fe16e317e713fb81
/usr/lib/.build-id/91
/usr/lib/.build-id/91/7b55b30cd08c06c54e82c29d433e4a5b1c0eb2
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/fc9f4036fa85c162448dfa56c154847e1f0cef
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/280183f1385ec6480a7e5cd297f0d4cc4bbe14
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/dcd63776713d4da4c73618ddecc1abf8be299b
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/51d0163e672fd9f1b1c5a7a5ade99c9f77f579
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/f51d084fa98857ba6bdd9f06e655c6a62a3fcc
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/34d2af96f15f5220403166c65f55d923405b78
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/d1d9d766246eb449ff4871014640320d10d223
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/1867ad437516a12f4574a0a3283bfe531b1f2b
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/5613b34728bc7f8f0d088711a88ba074077c60
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/f6a852523b775ed76183c4735ef801c690b8b9
/usr/lib64/libhdf5.so.200
/usr/lib64/libhdf5.so.200.1.0
/usr/lib64/libhdf5_cpp.so.200
/usr/lib64/libhdf5_cpp.so.200.1.0
/usr/lib64/libhdf5_fortran.so.200
/usr/lib64/libhdf5_fortran.so.200.1.0
/usr/lib64/libhdf5_hl.so.200
/usr/lib64/libhdf5_hl.so.200.0.1
/usr/lib64/libhdf5_hl_cpp.so.200
/usr/lib64/libhdf5_hl_cpp.so.200.0.1
/usr/lib64/libhdf5hl_fortran.so.200
/usr/lib64/libhdf5hl_fortran.so.200.0.1
/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_10_0-1_12_0.txt
/usr/share/doc/hdf5/HISTORY-1_12.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 36 using yum and [dnf]((/fedora/36/dnf/).

/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/bin/mirror_server /usr/bin/mirror_server_stop /usr/lib/.build-id /usr/lib/.build-id/0d /usr/lib/.build-id/0d/08bfd6152da0e3605c1b522a908e9bc2614722 /usr/lib/.build-id/19 /usr/lib/.build-id/19/a0d2d18fbfb2d284ed76716d9c3789a00b040f /usr/lib/.build-id/27 /usr/lib/.build-id/27/c89b0649ea1979bc2e36ee96a7b80214b29e0a /usr/lib/.build-id/2c /usr/lib/.build-id/2c/1708c371a7cd105df7d0a247d07dfb8ef32ab8 /usr/lib/.build-id/46 /usr/lib/.build-id/46/f69060f0b3de8b0c2d6303ba2b582e58d97918 /usr/lib/.build-id/48 /usr/lib/.build-id/48/7d124e165fb7e4b62cf38f7ec0072a1b32bcec /usr/lib/.build-id/4b /usr/lib/.build-id/4b/b924a9e6e4891793928c6518aae6af7aab2fc0 /usr/lib/.build-id/59 /usr/lib/.build-id/59/488939ca9a6952783ca9a87561d862b1ee35da /usr/lib/.build-id/5b /usr/lib/.build-id/5b/1f26782960a27b63367990bafb201a65496cea /usr/lib/.build-id/5f /usr/lib/.build-id/5f/d58c4babcfad36cc53ea60d5fdbdc347b12add /usr/lib/.build-id/63 /usr/lib/.build-id/63/725af5731eee24c8733d6826190836a543c08e /usr/lib/.build-id/71 /usr/lib/.build-id/71/79aceb7e5868a6255d6cfc2f2dc1713bfe82c8 /usr/lib/.build-id/7a /usr/lib/.build-id/7a/8aacfcd63c03ffb94a2280c8626f82f3afdbd7 /usr/lib/.build-id/7b /usr/lib/.build-id/7b/6a353b67b10375ea04259a25e60076f90804f0 /usr/lib/.build-id/7e /usr/lib/.build-id/7e/4146d69d1e623bd49170a35b3386dcae102071 /usr/lib/.build-id/7f /usr/lib/.build-id/7f/8a36af1782bd4271da2032ec454a128007354d /usr/lib/.build-id/85 /usr/lib/.build-id/85/cb30635886a7335bbffd117e9805bda7109e90 /usr/lib/.build-id/91 /usr/lib/.build-id/91/d95cd6392b2098b8065cd308ad404cec9e4814 /usr/lib/.build-id/95 /usr/lib/.build-id/95/6c8a13f783caed0265ab8b9905acebf56fc010 /usr/lib/.build-id/9a /usr/lib/.build-id/9a/8f0e6d2bd105b7b5a2fe1a28d0a441296698c0 /usr/lib/.build-id/9f /usr/lib/.build-id/9f/5c1a374d14fc2b2a2e9ef0859561d872eb09e2 /usr/lib/.build-id/a2 /usr/lib/.build-id/a2/e296232a9db779381840b484793f7cb521f1d5 /usr/lib/.build-id/ab /usr/lib/.build-id/ab/61d4100013790d88c071fc4d61fb9d5bb79160 /usr/lib/.build-id/b7 /usr/lib/.build-id/b7/971598a0f93491f171a1b35e702cf32576ae07 /usr/lib/.build-id/ce /usr/lib/.build-id/ce/64737890735c804853d11541f91756ad119b1a /usr/lib/.build-id/ed /usr/lib/.build-id/ed/75e08f790ced3f3657296c78e2d3cc9010a285 /usr/lib/libhdf5.so.200 /usr/lib/libhdf5.so.200.1.0 /usr/lib/libhdf5_cpp.so.200 /usr/lib/libhdf5_cpp.so.200.1.0 /usr/lib/libhdf5_fortran.so.200 /usr/lib/libhdf5_fortran.so.200.1.0 /usr/lib/libhdf5_hl.so.200 /usr/lib/libhdf5_hl.so.200.0.1 /usr/lib/libhdf5_hl_cpp.so.200 /usr/lib/libhdf5_hl_cpp.so.200.0.1 /usr/lib/libhdf5hl_fortran.so.200 /usr/lib/libhdf5hl_fortran.so.200.0.1 /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_10_0-1_12_0.txt /usr/share/doc/hdf5/HISTORY-1_12.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

* [hdf5 website](https://portal.hdfgroup.org/display/HDF5/HDF5)

## Summary

In this tutorial we learn how to install `hdf5` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).