How To Install python3-geopy on Rocky Linux 8

In this tutorial we learn how to install python3-geopy on Rocky Linux 8. python3-geopy is Python client for several popular geocoding web services

Introduction

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

What is python3-geopy

geopy makes it easy for Python developers to locate the coordinates of addresses, cities, countries, and landmarks across the globe using third- party geocoders and other data sources. geopy includes geocoder classes for the OpenStreetMap Nominatim, Google Geocoding API (V3), and many other geocoding services.

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

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

sudo dnf -y install python3-geopy

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

sudo yum -y install python3-geopy

How To Uninstall python3-geopy on Rocky Linux 8

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

sudo dnf remove python3-geopy

python3-geopy Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/geopy
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/geopy-1.21.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/geopy/__init__.py
/usr/lib/python3.6/site-packages/geopy/__pycache__
/usr/lib/python3.6/site-packages/geopy/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/distance.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/distance.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/exc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/exc.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/format.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/format.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/location.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/location.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/point.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/point.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/timezone.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/timezone.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/units.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/units.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/compat.py
/usr/lib/python3.6/site-packages/geopy/distance.py
/usr/lib/python3.6/site-packages/geopy/exc.py
/usr/lib/python3.6/site-packages/geopy/extra
/usr/lib/python3.6/site-packages/geopy/extra/__init__.py
/usr/lib/python3.6/site-packages/geopy/extra/__pycache__
/usr/lib/python3.6/site-packages/geopy/extra/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/extra/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/extra/__pycache__/rate_limiter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/extra/__pycache__/rate_limiter.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/extra/rate_limiter.py
/usr/lib/python3.6/site-packages/geopy/format.py
/usr/lib/python3.6/site-packages/geopy/geocoders
/usr/lib/python3.6/site-packages/geopy/geocoders/__init__.py
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/arcgis.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/arcgis.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/azure.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/azure.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/baidu.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/baidu.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/banfrance.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/banfrance.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/bing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/bing.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/databc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/databc.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geocodeearth.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geocodeearth.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geocodefarm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geocodefarm.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geolake.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geolake.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geonames.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/geonames.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/googlev3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/googlev3.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/here.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/here.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/ignfrance.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/ignfrance.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/mapbox.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/mapbox.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/opencage.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/opencage.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/openmapquest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/openmapquest.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/osm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/osm.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/pelias.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/pelias.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/photon.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/photon.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/pickpoint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/pickpoint.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/smartystreets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/smartystreets.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/tomtom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/tomtom.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/what3words.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/what3words.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/yandex.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/__pycache__/yandex.cpython-36.pyc
/usr/lib/python3.6/site-packages/geopy/geocoders/arcgis.py
/usr/lib/python3.6/site-packages/geopy/geocoders/azure.py
/usr/lib/python3.6/site-packages/geopy/geocoders/baidu.py
/usr/lib/python3.6/site-packages/geopy/geocoders/banfrance.py
/usr/lib/python3.6/site-packages/geopy/geocoders/base.py
/usr/lib/python3.6/site-packages/geopy/geocoders/bing.py
/usr/lib/python3.6/site-packages/geopy/geocoders/databc.py
/usr/lib/python3.6/site-packages/geopy/geocoders/geocodeearth.py
/usr/lib/python3.6/site-packages/geopy/geocoders/geocodefarm.py
/usr/lib/python3.6/site-packages/geopy/geocoders/geolake.py
/usr/lib/python3.6/site-packages/geopy/geocoders/geonames.py
/usr/lib/python3.6/site-packages/geopy/geocoders/googlev3.py
/usr/lib/python3.6/site-packages/geopy/geocoders/here.py
/usr/lib/python3.6/site-packages/geopy/geocoders/ignfrance.py
/usr/lib/python3.6/site-packages/geopy/geocoders/mapbox.py
/usr/lib/python3.6/site-packages/geopy/geocoders/opencage.py
/usr/lib/python3.6/site-packages/geopy/geocoders/openmapquest.py
/usr/lib/python3.6/site-packages/geopy/geocoders/osm.py
/usr/lib/python3.6/site-packages/geopy/geocoders/pelias.py
/usr/lib/python3.6/site-packages/geopy/geocoders/photon.py
/usr/lib/python3.6/site-packages/geopy/geocoders/pickpoint.py
/usr/lib/python3.6/site-packages/geopy/geocoders/smartystreets.py
/usr/lib/python3.6/site-packages/geopy/geocoders/tomtom.py
/usr/lib/python3.6/site-packages/geopy/geocoders/what3words.py
/usr/lib/python3.6/site-packages/geopy/geocoders/yandex.py
/usr/lib/python3.6/site-packages/geopy/location.py
/usr/lib/python3.6/site-packages/geopy/point.py
/usr/lib/python3.6/site-packages/geopy/timezone.py
/usr/lib/python3.6/site-packages/geopy/units.py
/usr/lib/python3.6/site-packages/geopy/util.py
/usr/share/doc/python3-geopy
/usr/share/doc/python3-geopy/AUTHORS
/usr/share/doc/python3-geopy/CONTRIBUTING.md
/usr/share/doc/python3-geopy/README.rst
/usr/share/licenses/python3-geopy
/usr/share/licenses/python3-geopy/LICENSE

References

Summary

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