How To Install python3-eccodes on Fedora 36

In this tutorial we learn how to install python3-eccodes in Fedora 36. python3-eccodes is Python interface to the ecCodes GRIB and BUFR decoder/encoder

Introduction

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

What is python3-eccodes

Python 3 interface to encode and decode GRIB and BUFR files via the ECMWF ecCodes library. It allows reading and writing of GRIB 1 and 2 files and BUFR 3 and 4 files.

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

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

sudo dnf -y install python3-eccodes

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

sudo yum -y install python3-eccodes

How To Uninstall python3-eccodes on Fedora 36

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

sudo dnf remove python3-eccodes

python3-eccodes Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/858e6a709b9800923d84445da6854cb1cd5f9e
/usr/lib64/python3.10/site-packages/eccodes
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/eccodes-1.3.3-py3.10.egg-info/zip-safe
/usr/lib64/python3.10/site-packages/eccodes/__init__.py
/usr/lib64/python3.10/site-packages/eccodes/__main__.py
/usr/lib64/python3.10/site-packages/eccodes/__pycache__
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/__main__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/eccodes.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/eccodes.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/messages.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/__pycache__/messages.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/eccodes.py
/usr/lib64/python3.10/site-packages/eccodes/high_level
/usr/lib64/python3.10/site-packages/eccodes/high_level/__init__.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/bufr.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/bufr.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/codesfile.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/codesfile.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/codesmessage.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/codesmessage.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribfile.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribfile.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribindex.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribindex.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribmessage.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/__pycache__/gribmessage.cpython-310.pyc
/usr/lib64/python3.10/site-packages/eccodes/high_level/bufr.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/codesfile.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/codesmessage.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/gribfile.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/gribindex.py
/usr/lib64/python3.10/site-packages/eccodes/high_level/gribmessage.py
/usr/lib64/python3.10/site-packages/eccodes/messages.py
/usr/lib64/python3.10/site-packages/gribapi
/usr/lib64/python3.10/site-packages/gribapi/__init__.py
/usr/lib64/python3.10/site-packages/gribapi/__pycache__
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/bindings.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/bindings.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/errors.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/gribapi.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/gribapi/__pycache__/gribapi.cpython-310.pyc
/usr/lib64/python3.10/site-packages/gribapi/_bindings.abi3.so
/usr/lib64/python3.10/site-packages/gribapi/bindings.py
/usr/lib64/python3.10/site-packages/gribapi/eccodes.h
/usr/lib64/python3.10/site-packages/gribapi/errors.py
/usr/lib64/python3.10/site-packages/gribapi/grib_api.h
/usr/lib64/python3.10/site-packages/gribapi/gribapi.py
/usr/share/doc/python3-eccodes
/usr/share/doc/python3-eccodes/README.rst
/usr/share/doc/python3-eccodes/html
/usr/share/doc/python3-eccodes/html/_modules
/usr/share/doc/python3-eccodes/html/_modules/eccodes
/usr/share/doc/python3-eccodes/html/_modules/eccodes/messages.html
/usr/share/doc/python3-eccodes/html/_modules/index.html
/usr/share/doc/python3-eccodes/html/_sources
/usr/share/doc/python3-eccodes/html/_sources/index.rst.txt
/usr/share/doc/python3-eccodes/html/_sources/messages.rst.txt
/usr/share/doc/python3-eccodes/html/_static
/usr/share/doc/python3-eccodes/html/_static/basic.css
/usr/share/doc/python3-eccodes/html/_static/classic.css
/usr/share/doc/python3-eccodes/html/_static/default.css
/usr/share/doc/python3-eccodes/html/_static/doctools.js
/usr/share/doc/python3-eccodes/html/_static/documentation_options.js
/usr/share/doc/python3-eccodes/html/_static/file.png
/usr/share/doc/python3-eccodes/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-eccodes/html/_static/jquery.js
/usr/share/doc/python3-eccodes/html/_static/language_data.js
/usr/share/doc/python3-eccodes/html/_static/minus.png
/usr/share/doc/python3-eccodes/html/_static/plus.png
/usr/share/doc/python3-eccodes/html/_static/pygments.css
/usr/share/doc/python3-eccodes/html/_static/searchtools.js
/usr/share/doc/python3-eccodes/html/_static/sidebar.js
/usr/share/doc/python3-eccodes/html/_static/underscore-1.13.1.js
/usr/share/doc/python3-eccodes/html/_static/underscore.js
/usr/share/doc/python3-eccodes/html/genindex.html
/usr/share/doc/python3-eccodes/html/index.html
/usr/share/doc/python3-eccodes/html/messages.html
/usr/share/doc/python3-eccodes/html/objects.inv
/usr/share/doc/python3-eccodes/html/py-modindex.html
/usr/share/doc/python3-eccodes/html/search.html
/usr/share/doc/python3-eccodes/html/searchindex.js
/usr/share/licenses/python3-eccodes
/usr/share/licenses/python3-eccodes/LICENSE

References

Summary

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