How To Install python2-geoip2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install python2-geoip2
on Rocky Linux 8.
What is python2-geoip2
This package provides an API for the GeoIP2 web services.
We can use yum
or dnf
to install python2-geoip2
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python2-geoip2.
Install python2-geoip2 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 python2-geoip2
using dnf
by running the following command:
sudo dnf -y install python2-geoip2
Install python2-geoip2 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 python2-geoip2
using yum
by running the following command:
sudo yum -y install python2-geoip2
How To Uninstall python2-geoip2 on Rocky Linux 8
To uninstall only the python2-geoip2
package we can use the following command:
sudo dnf remove python2-geoip2
python2-geoip2 Package Contents on Rocky Linux 8
/usr/lib/python2.7/site-packages/geoip2
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/geoip2-2.9.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/geoip2/__init__.py
/usr/lib/python2.7/site-packages/geoip2/__init__.pyc
/usr/lib/python2.7/site-packages/geoip2/__init__.pyo
/usr/lib/python2.7/site-packages/geoip2/compat.py
/usr/lib/python2.7/site-packages/geoip2/compat.pyc
/usr/lib/python2.7/site-packages/geoip2/compat.pyo
/usr/lib/python2.7/site-packages/geoip2/database.py
/usr/lib/python2.7/site-packages/geoip2/database.pyc
/usr/lib/python2.7/site-packages/geoip2/database.pyo
/usr/lib/python2.7/site-packages/geoip2/errors.py
/usr/lib/python2.7/site-packages/geoip2/errors.pyc
/usr/lib/python2.7/site-packages/geoip2/errors.pyo
/usr/lib/python2.7/site-packages/geoip2/mixins.py
/usr/lib/python2.7/site-packages/geoip2/mixins.pyc
/usr/lib/python2.7/site-packages/geoip2/mixins.pyo
/usr/lib/python2.7/site-packages/geoip2/models.py
/usr/lib/python2.7/site-packages/geoip2/models.pyc
/usr/lib/python2.7/site-packages/geoip2/models.pyo
/usr/lib/python2.7/site-packages/geoip2/records.py
/usr/lib/python2.7/site-packages/geoip2/records.pyc
/usr/lib/python2.7/site-packages/geoip2/records.pyo
/usr/lib/python2.7/site-packages/geoip2/webservice.py
/usr/lib/python2.7/site-packages/geoip2/webservice.pyc
/usr/lib/python2.7/site-packages/geoip2/webservice.pyo
/usr/share/doc/python2-geoip2
/usr/share/doc/python2-geoip2/README.rst
/usr/share/licenses/python2-geoip2
/usr/share/licenses/python2-geoip2/LICENSE
References
Summary
In this tutorial we learn how to install python2-geoip2
on Rocky Linux 8 using yum and dnf.