How to Install and Uninstall php7.0-geoip Package on Debian 12 (Bookworm)

Last updated: September 20,2024

1. Install "php7.0-geoip" package

Please follow the guidelines below to install php7.0-geoip on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.0-geoip

2. Uninstall "php7.0-geoip" package

This is a short guide on how to uninstall php7.0-geoip on Debian 12 (Bookworm):

$ sudo apt remove php7.0-geoip $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.0-geoip
Source: php-geoip
Version: 1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 56
Pre-Depends: php-common (>= 2:69~)
Depends: php7.0-common, phpapi-20151012, libc6 (>= 2.14), libgeoip1 (>= 1.6.12)
Recommends: geoip-database
Breaks: php-geoip (<< 1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a~)
Replaces: php-geoip (<< 1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a~)
Provides: php-geoip
Homepage: http://pecl.php.net/package/geoip/
Priority: optional
Section: php
Filename: pool/main/p/php-geoip/php7.0-geoip_1.1.1+repack1-5+0~20231125.29+debian12~1.gbp03b52a_amd64.deb
Size: 11036
SHA256: 5dacaca18c7c109c89f0da0dc6421e471d3a5dc5ce38a4d8589c98c0b9275552
SHA1: f5823113bed1f5a28bccf76e99a6af43225b2d58
MD5sum: 42325667f5145b55ee147d104c8d15a1
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/
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c