How To Install python3-pyerfa on Fedora 36

In this tutorial we learn how to install python3-pyerfa in Fedora 36. python3-pyerfa is Python wrapper for the ERFA library

Introduction

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

What is python3-pyerfa

PyERFA is the Python wrapper for the ERFA library (Essential Routines for Fundamental Astronomy), a C library containing key algorithms for astronomy, which is based on the SOFA library published by the International Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs.

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

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

sudo dnf -y install python3-pyerfa

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

sudo yum -y install python3-pyerfa

How To Uninstall python3-pyerfa on Fedora 36

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

sudo dnf remove python3-pyerfa

python3-pyerfa Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/70564d40f692b0a924ac937d550280841394fe
/usr/lib64/python3.10/site-packages/erfa
/usr/lib64/python3.10/site-packages/erfa/__init__.py
/usr/lib64/python3.10/site-packages/erfa/__pycache__
/usr/lib64/python3.10/site-packages/erfa/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/_version.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/core.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/helpers.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/__pycache__/version.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/_version.py
/usr/lib64/python3.10/site-packages/erfa/core.py
/usr/lib64/python3.10/site-packages/erfa/helpers.py
/usr/lib64/python3.10/site-packages/erfa/tests
/usr/lib64/python3.10/site-packages/erfa/tests/__init__.py
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/helper.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/helper.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/test_erfa.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/test_erfa.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/test_ufunc.cpython-310-pytest-6.2.5.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/test_ufunc.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/__pycache__/test_ufunc.cpython-310.pyc
/usr/lib64/python3.10/site-packages/erfa/tests/helper.py
/usr/lib64/python3.10/site-packages/erfa/tests/test_erfa.py
/usr/lib64/python3.10/site-packages/erfa/tests/test_ufunc.py
/usr/lib64/python3.10/site-packages/erfa/ufunc.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/erfa/version.py
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/pyerfa-2.0.0.1-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-pyerfa
/usr/share/doc/python3-pyerfa/AUTHORS.rst
/usr/share/doc/python3-pyerfa/CHANGES.rst
/usr/share/doc/python3-pyerfa/README.rst
/usr/share/licenses/python3-pyerfa
/usr/share/licenses/python3-pyerfa/LICENSE.rst

References

Summary

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