How to Install and Uninstall python-geoip2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 27,2024

1. Install "python-geoip2" package

Please follow the guidance below to install python-geoip2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-geoip2

2. Uninstall "python-geoip2" package

Please follow the guidance below to uninstall python-geoip2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-geoip2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-geoip2
Architecture: all
Version: 2.7.0+dfsg1-1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 97
Depends: python-ipaddress, python-requests (>= 2.9), python-maxminddb, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-geoip2/python-geoip2_2.7.0+dfsg1-1_all.deb
Size: 19324
MD5sum: 650a4115d9dfdbf13a19d88105aa22c6
SHA1: 44ed6985731fb79aa0770ecba9f8aecec8b41bac
SHA256: e9ec5402333b7f000b4ac54e5d20554cbda735b9f7c817a7f0621562b2b6aa2d
Homepage: https://github.com/maxmind/GeoIP2-python
Description: Python geoip2 API for web services and databases - Python 2.x
Description-md5: 82a740c48e5c76e64d37678c4a69f402