How To Install python3-GeographicLib on Rocky Linux 8

In this tutorial we learn how to install python3-GeographicLib on Rocky Linux 8. python3-GeographicLib is Python 3 implementation of GeographicLib

Introduction

In this tutorial we learn how to install python3-GeographicLib on Rocky Linux 8.

What is python3-GeographicLib

A translation of the GeographicLib

We can use yum or dnf to install python3-GeographicLib on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-GeographicLib.

Install python3-GeographicLib on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-GeographicLib

Install python3-GeographicLib on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-GeographicLib using yum by running the following command:

sudo yum -y install python3-GeographicLib

How To Uninstall python3-GeographicLib on Rocky Linux 8

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

sudo dnf remove python3-GeographicLib

python3-GeographicLib Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/geographiclib
/usr/lib/python3.6/site-packages/geographiclib-1.50-py3.6.egg-info
/usr/lib/python3.6/site-packages/geographiclib-1.50-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/geographiclib-1.50-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/geographiclib-1.50-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/geographiclib-1.50-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/geographiclib/__init__.py
/usr/lib/python3.6/site-packages/geographiclib/__pycache__
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/accumulator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/accumulator.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesic.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesic.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesiccapability.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesiccapability.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesicline.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geodesicline.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geomath.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/geomath.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/polygonarea.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/__pycache__/polygonarea.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/accumulator.py
/usr/lib/python3.6/site-packages/geographiclib/constants.py
/usr/lib/python3.6/site-packages/geographiclib/geodesic.py
/usr/lib/python3.6/site-packages/geographiclib/geodesiccapability.py
/usr/lib/python3.6/site-packages/geographiclib/geodesicline.py
/usr/lib/python3.6/site-packages/geographiclib/geomath.py
/usr/lib/python3.6/site-packages/geographiclib/polygonarea.py
/usr/lib/python3.6/site-packages/geographiclib/test
/usr/lib/python3.6/site-packages/geographiclib/test/__init__.py
/usr/lib/python3.6/site-packages/geographiclib/test/__pycache__
/usr/lib/python3.6/site-packages/geographiclib/test/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/test/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/test/__pycache__/test_geodesic.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geographiclib/test/__pycache__/test_geodesic.cpython-36.pyc
/usr/lib/python3.6/site-packages/geographiclib/test/test_geodesic.py
/usr/share/licenses/python3-GeographicLib
/usr/share/licenses/python3-GeographicLib/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-GeographicLib on Rocky Linux 8 using yum and dnf.