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

Last updated: May 18,2024

1. Install "php-geoip" package

This guide covers the steps necessary to install php-geoip on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-geoip

2. Uninstall "php-geoip" package

Please follow the steps below to uninstall php-geoip on Debian 12 (Bookworm):

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

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

Package: php-geoip
Version: 1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 13
Pre-Depends: php-common (>= 2:69~)
Depends: php7.4-geoip
Recommends: geoip-database
Homepage: http://pecl.php.net/package/geoip/
Priority: optional
Section: php
Filename: pool/main/p/php-geoip/php-geoip_1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a_amd64.deb
Size: 4200
SHA256: 11f79595dd81a2ecb316ec378a97a493d134e350270d304f48571a2e308ac91f
SHA1: e0681e6385e9640230ca0c65d1d94eb59655d48a
MD5sum: c44d9d26b7bc1a484fcc5451bfdd3708
Description: GeoIP module for PHP
This PHP module allows you to find the location of an IP address -
City, State, Country, Longitude, Latitude, and other information as
all, such as ISP and connection type.
.
For more info, please visit Maxmind's website:
http://www.maxmind.com/
.
This is empty package that depends on default PHP version.
Description-md5: ee4870ecef7c6f36edfcad9b0298bb64