How to Install and Uninstall python-geoip Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "python-geoip" package

Please follow the instructions below to install python-geoip on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-geoip

2. Uninstall "python-geoip" package

Please follow the steps below to uninstall python-geoip on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-geoip package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-geoip
Priority: optional
Section: universe/python
Installed-Size: 72
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: amd64
Version: 1.3.2-1build2
Depends: geoip-database, python (<< 2.8), python (>= 2.7~), libc6 (>= 2.4), libgeoip1
Filename: pool/universe/p/python-geoip/python-geoip_1.3.2-1build2_amd64.deb
Size: 18880
MD5sum: 8fc3202949367aa8681f100c6313d24b
SHA1: 603d0f6a7255af7bada34ba5564365ba319e1088
SHA256: c7476741d1def880a5c2b3cf7ce7f3006e459ae5af8c1cbac046c8fa03167fd6
Description-en: Python bindings for the GeoIP IP-to-country resolver library
GeoIP is a library that enables the user to find the country that any
IP address or hostname originates from, using a database instead of
DNS.
.
This package contains the Python bindings for GeoIP, allowing to use
this library within a Python program.
Description-md5: 7728feb20ccb4df284edbff75a08cb2d
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu