How To Install python3-h5py on Fedora 36

In this tutorial we learn how to install python3-h5py in Fedora 36. python3-h5py is A Python interface to the HDF5 library

Introduction

In this tutorial we learn how to install python3-h5py on Fedora 36.

What is python3-h5py

The h5py package provides both a high- and low-level interface to the HDF5 library from Python. The low-level interface is intended to be a complete wrapping of the HDF5 API, while the high-level component supports access to HDF5 files, data sets and groups using established Python and NumPy concepts. A strong emphasis on automatic conversion between Python (Numpy) data types and data structures and their HDF5 equivalents vastly simplifies the process of reading and writing data from Python.

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

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

sudo dnf -y install python3-h5py

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

sudo yum -y install python3-h5py

How To Uninstall python3-h5py on Fedora 36

To uninstall only the python3-h5py package we can use the following command:

sudo dnf remove python3-h5py

python3-h5py Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/b0e9ce61e3e1267a3c0c68a3e05369f501dd0e
/usr/lib/.build-id/16
/usr/lib/.build-id/16/86c4d371720caf2ef4188b4b152e2b21a799a2
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/612f4fd0f317b3c03423b45e7eeb028f46bebb
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/5519f5cb731b82c8f94f10970707bf1c07c048
/usr/lib/.build-id/4d/942a104fcda955d2655dfc6834e66834ad3cfe
/usr/lib/.build-id/54
/usr/lib/.build-id/54/304ba51199d0c2f7ee48febc8cda1182462d5b
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/6889afc2f888bb575ff58e42ecda3d32b435b8
/usr/lib/.build-id/70
/usr/lib/.build-id/70/7deabd627f773e4e815f8c770bead9b765c016
/usr/lib/.build-id/76
/usr/lib/.build-id/76/f9392209b3d769af5bd655789d2fd9ccc8142f
/usr/lib/.build-id/88
/usr/lib/.build-id/88/0462bc47b5d3a61c200219660ad1fd06de893b
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/131f678d4042947f4ea520cccf6b490d89e765
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/8b97f732cf78e849bf354399b4e4c936db0b69
/usr/lib/.build-id/a4/9b64025d6adce326eb5d0203208d35c6c5e407
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/a1b2f66b1f6fbe04c7dab28550335dfff0987a
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/7b51997b71fa1e0ac9d37d43165e88c81bafe4
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/d06fc11688c209edaa2cb0d312e62857f3a8d8
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/a7076dd64bc2147d6f6e41973a482001338d04
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/9fc5d7c71dd597967720d4d52c119b13b7f570
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/3b76e68541bf2e02f522b48876421c80eeeef4
/usr/lib/.build-id/dd/424fe47f5b9413b7087bce12e29b7f9f0690a4
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/5e94c6f0fe4651e12d2fdf3eeaf3f4c5ac346e
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/70a53285502cbca8e1bde0569e85ccf9e102a1
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/af5c24d68a0e95cbda163e467eebaad187db34
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/d84b5c6d7758e251e2d3737b84309273769e21
/usr/lib64/python3.10/site-packages/h5py
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/h5py-3.6.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/h5py/__init__.py
/usr/lib64/python3.10/site-packages/h5py/__pycache__
/usr/lib64/python3.10/site-packages/h5py/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/h5py_warnings.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/h5py_warnings.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/ipy_completer.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/ipy_completer.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/__pycache__/version.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_conv.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/_errors.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/_hl
/usr/lib64/python3.10/site-packages/h5py/_hl/__init__.py
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/attrs.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/attrs.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/base.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/compat.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/dataset.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/dataset.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/datatype.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/datatype.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/dims.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/dims.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/files.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/files.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/filters.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/filters.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/group.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/group.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/selections.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/selections.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/selections2.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/selections2.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/vds.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/__pycache__/vds.cpython-310.pyc
/usr/lib64/python3.10/site-packages/h5py/_hl/attrs.py
/usr/lib64/python3.10/site-packages/h5py/_hl/base.py
/usr/lib64/python3.10/site-packages/h5py/_hl/compat.py
/usr/lib64/python3.10/site-packages/h5py/_hl/dataset.py
/usr/lib64/python3.10/site-packages/h5py/_hl/datatype.py
/usr/lib64/python3.10/site-packages/h5py/_hl/dims.py
/usr/lib64/python3.10/site-packages/h5py/_hl/files.py
/usr/lib64/python3.10/site-packages/h5py/_hl/filters.py
/usr/lib64/python3.10/site-packages/h5py/_hl/group.py
/usr/lib64/python3.10/site-packages/h5py/_hl/selections.py
/usr/lib64/python3.10/site-packages/h5py/_hl/selections2.py
/usr/lib64/python3.10/site-packages/h5py/_hl/vds.py
/usr/lib64/python3.10/site-packages/h5py/_objects.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/_proxy.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/_selector.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/defs.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5a.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5ac.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5d.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5ds.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5f.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5fd.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5g.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5i.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5l.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5o.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5p.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5pl.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5py_warnings.py
/usr/lib64/python3.10/site-packages/h5py/h5r.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5s.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5t.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/h5z.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/ipy_completer.py
/usr/lib64/python3.10/site-packages/h5py/utils.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/h5py/version.py
/usr/share/doc/python3-h5py
/usr/share/doc/python3-h5py/README.rst
/usr/share/doc/python3-h5py/examples
/usr/share/doc/python3-h5py/examples/bytesio.py
/usr/share/doc/python3-h5py/examples/collective_io.py
/usr/share/doc/python3-h5py/examples/dataset_concatenation.py
/usr/share/doc/python3-h5py/examples/dual_pco_edge.py
/usr/share/doc/python3-h5py/examples/eiger_use_case.py
/usr/share/doc/python3-h5py/examples/excalibur_detector_modules.py
/usr/share/doc/python3-h5py/examples/multiblockslice_interleave.py
/usr/share/doc/python3-h5py/examples/multiprocessing_example.py
/usr/share/doc/python3-h5py/examples/percival_use_case.py
/usr/share/doc/python3-h5py/examples/store_and_retrieve_units_example.py
/usr/share/doc/python3-h5py/examples/store_datetimes.py
/usr/share/doc/python3-h5py/examples/swmr_inotify_example.py
/usr/share/doc/python3-h5py/examples/swmr_multiprocess.py
/usr/share/doc/python3-h5py/examples/threading_example.py
/usr/share/doc/python3-h5py/examples/vds_simple.py
/usr/share/doc/python3-h5py/examples/write-direct-compressed.py
/usr/share/licenses/python3-h5py
/usr/share/licenses/python3-h5py/hdf5.txt
/usr/share/licenses/python3-h5py/license.txt
/usr/share/licenses/python3-h5py/pytables.txt
/usr/share/licenses/python3-h5py/python.txt
/usr/share/licenses/python3-h5py/stdint.txt

References

Summary

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