How to Install and Uninstall php-geoip Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "php-geoip" package

Please follow the step by step instructions below to install php-geoip on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-geoip

2. Uninstall "php-geoip" package

This guide covers the steps necessary to uninstall php-geoip on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-geoip package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-geoip
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3
Recommends: geoip-database
Depends: php7.4-geoip
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-geoip/php-geoip_1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3_amd64.deb
Size: 5588
MD5sum: 41a318b96926d09fe940c37a869d693b
SHA1: 0a3315c6a92884835b17b0aed7962726c715ce71
SHA256: ffc73277624f233aa6a4871f5a3352fb1169e92b5108e42b724d24ebe410706f
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c

Package: php-geoip
Architecture: amd64
Version: 1.1.1-1build2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Provides: php7.2-geoip
Depends: php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), libgeoip1
Recommends: geoip-database
Filename: pool/universe/p/php-geoip/php-geoip_1.1.1-1build2_amd64.deb
Size: 11052
MD5sum: add42ddf029d6dd311cfbd7cd266368a
SHA1: f3b7b9c25fa70502832de87f367e8100803159c1
SHA256: ea6f48e7a30aaac2c48a3522f8aa40b88f6c71cfe419dc79cfcf4baa84bfd02c
Homepage: http://pecl.php.net/package/geoip/
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c