How to Install and Uninstall python3-geoip2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 17,2024

1. Install "python3-geoip2" package

Please follow the steps below to install python3-geoip2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-geoip2

2. Uninstall "python3-geoip2" package

Please follow the guidelines below to uninstall python3-geoip2 on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove python3-geoip2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-geoip2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-geoip2
Architecture: all
Version: 2.9.0+dfsg1-2
Priority: optional
Section: python
Source: python-geoip2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 97
Depends: python3-maxminddb (>= 1.4.0), python3-requests, python3:any
Filename: pool/main/p/python-geoip2/python3-geoip2_2.9.0+dfsg1-2_all.deb
Size: 19960
MD5sum: e2a68d8f403fb5083262e0657634e4ed
SHA1: 789ce4f81037505c92b04523c34805de532baa65
SHA256: 3fc218fd5bc24110655aaa6c25f4c6103e2759129c925330cfe6e3136850ac3d
Homepage: https://github.com/maxmind/GeoIP2-python
Description: Python geoip2 API for web services and databases
Description-md5: 44c2afc86d40f57f91fbb80c5dc0228b