How to Install and Uninstall python3-geoip Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "python3-geoip" package

This tutorial shows how to install python3-geoip on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-geoip

2. Uninstall "python3-geoip" package

Please follow the instructions below to uninstall python3-geoip on Debian 12 (Bookworm):

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

3. Information about the python3-geoip package on Debian 12 (Bookworm)

Package: python3-geoip
Source: python-geoip (1.3.2-6)
Version: 1.3.2-6+b2
Installed-Size: 92
Maintainer: Debian Python Team
Architecture: amd64
Depends: geoip-database, python3 (<< 3.12), python3 (>= 3.11~), libc6 (>= 2.4), libgeoip1 (>= 1.6.12)
Description: Python3 bindings for the GeoIP IP-to-country resolver library
Description-md5: 95062c5b304c5669da5867898cc338c9
Multi-Arch: same
Homepage: https://dev.maxmind.com/geoip/
Section: python
Priority: optional
Filename: pool/main/p/python-geoip/python3-geoip_1.3.2-6+b2_amd64.deb
Size: 20492
MD5sum: fca77e3fed5a80c78d32f473c723c6e0
SHA256: 90522bb73e0f205f4645191515f06354135aec8fba9a99f23e325e62ea1d4aec