How To Install python3-pygrib on Fedora 36
Introduction
In this tutorial we learn how to install python3-pygrib
on Fedora 36.
What is python3-pygrib
Cython wrapper to provide a high-level interface to the ECMWF eccodes C library for handling GRIB files. GRIB is the the World Meteorological Organization (WMO) standard for distributing gridded data. This module contains python interfaces for reading and modifying GRIB files using the ECMWF ECCODES C library, as well as command-line utilities for listing and re-packing GRIB files. There are for now limited capabilities for writing GRIB files, i.e. you can modify the contents of an existing file, but you can’t create one from scratch.
We can use yum
or dnf
to install python3-pygrib
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pygrib.
Install python3-pygrib 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-pygrib
using dnf
by running the following command:
sudo dnf -y install python3-pygrib
Install python3-pygrib 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-pygrib
using yum
by running the following command:
sudo yum -y install python3-pygrib
How To Uninstall python3-pygrib on Fedora 36
To uninstall only the python3-pygrib
package we can use the following command:
sudo dnf remove python3-pygrib
python3-pygrib Package Contents on Fedora 36
/usr/bin/cnvgrib1to2
/usr/bin/cnvgrib2to1
/usr/bin/grib_list
/usr/bin/grib_repack
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/f9f5bc3fab16357362a06af806e273c7875e70
/usr/lib64/python3.10/site-packages/pygrib
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/pygrib-2.1.4-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/pygrib/__init__.py
/usr/lib64/python3.10/site-packages/pygrib/__pycache__
/usr/lib64/python3.10/site-packages/pygrib/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pygrib/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pygrib/_pygrib.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/pygrib
/usr/share/doc/pygrib/html
/usr/share/doc/pygrib/html/_sources
/usr/share/doc/pygrib/html/_sources/api.rst.txt
/usr/share/doc/pygrib/html/_sources/index.rst.txt
/usr/share/doc/pygrib/html/_sources/installing.rst.txt
/usr/share/doc/pygrib/html/_static
/usr/share/doc/pygrib/html/_static/basic.css
/usr/share/doc/pygrib/html/_static/doctools.js
/usr/share/doc/pygrib/html/_static/documentation_options.js
/usr/share/doc/pygrib/html/_static/file.png
/usr/share/doc/pygrib/html/_static/jquery.js
/usr/share/doc/pygrib/html/_static/language_data.js
/usr/share/doc/pygrib/html/_static/minus.png
/usr/share/doc/pygrib/html/_static/nature.css
/usr/share/doc/pygrib/html/_static/plus.png
/usr/share/doc/pygrib/html/_static/pygments.css
/usr/share/doc/pygrib/html/_static/searchtools.js
/usr/share/doc/pygrib/html/_static/underscore-1.3.1.js
/usr/share/doc/pygrib/html/_static/underscore.js
/usr/share/doc/pygrib/html/api.html
/usr/share/doc/pygrib/html/genindex.html
/usr/share/doc/pygrib/html/index.html
/usr/share/doc/pygrib/html/installing.html
/usr/share/doc/pygrib/html/objects.inv
/usr/share/doc/pygrib/html/py-modindex.html
/usr/share/doc/pygrib/html/search.html
/usr/share/doc/pygrib/html/searchindex.js
/usr/share/doc/python3-pygrib
/usr/share/doc/python3-pygrib/LICENSE
/usr/share/doc/python3-pygrib/PKG-INFO
/usr/share/doc/python3-pygrib/README.md
/usr/share/man/man1/cnvgrib1to2.1.gz
/usr/share/man/man1/cnvgrib2to1.1.gz
/usr/share/man/man1/grib_list.1.gz
/usr/share/man/man1/grib_repack.1.gz
References
Summary
In this tutorial we learn how to install python3-pygrib
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).