How to Install and Uninstall php7.2-geoip Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 27,2024

1. Install "php7.2-geoip" package

This guide covers the steps necessary to install php7.2-geoip on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.2-geoip" package

This guide covers the steps necessary to uninstall php7.2-geoip on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.2-geoip package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-geoip
Source: php-geoip
Priority: optional
Section: php
Installed-Size: 57
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4
Recommends: geoip-database
Replaces: php-geoip (<< 1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4~)
Provides: php-geoip
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libgeoip1 (>= 1.6.12)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-geoip (<< 1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4~)
Filename: pool/main/p/php-geoip/php7.2-geoip_1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4_amd64.deb
Size: 12712
MD5sum: 186737f42271426d0b91e809b24f11b5
SHA1: a6e8f80729693a43fef019c56d6553e8e9f9c200
SHA256: 5a38fad541147d4d1df8bddc69407ee626e175d57c877010db9650dd5428d9b8
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c