How to Install and Uninstall php-geoip Package on Debian 11 (Bullseye)

Last updated: November 05,2024

1. Install "php-geoip" package

Please follow the step by step instructions below to install php-geoip on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-geoip

2. Uninstall "php-geoip" package

In this section, we are going to explain the necessary steps to uninstall php-geoip on Debian 11 (Bullseye):

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

3. Information about the php-geoip package on Debian 11 (Bullseye)

Package: php-geoip
Version: 1.1.1+repack1-1+0~20211110.21+debian11~1.gbp007de1
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 14
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-1+0~20211110.21+debian11~1.gbp007de1_amd64.deb
Size: 5644
SHA256: 6c426e0040b52ccc45880aff18aee76ac5f191cfe92e56f131be419068bf8abc
SHA1: f13f07237f4d82598005f4e30717eb15104d3d52
MD5sum: aba63b800b6f1a54ac14830a16fe0c25
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c

Package: php-geoip
Version: 1.1.1-7
Installed-Size: 62
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.4-geoip
Depends: phpapi-20190902, libc6 (>= 2.14), libgeoip1 (>= 1.6.12)
Pre-Depends: php-common (>= 2:69~)
Recommends: geoip-database
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c
Homepage: http://pecl.php.net/package/geoip/
Section: php
Priority: optional
Filename: pool/main/p/php-geoip/php-geoip_1.1.1-7_amd64.deb
Size: 12568
MD5sum: c58dd353baa9eaec2afe93932cef64c1
SHA256: 52a95bddcd367f13ddc59af99ab9e84846d19ca6190a1cb4a1ace587055f6029