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

Last updated: November 23,2024

1. Install "php7.2-geoip" package

This tutorial shows how to install php7.2-geoip on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-geoip" package

In this section, we are going to explain the necessary steps to uninstall php7.2-geoip on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.2-geoip
Source: php-geoip
Priority: optional
Section: php
Installed-Size: 53
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3
Recommends: geoip-database
Replaces: php-geoip (<< 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3~)
Provides: php-geoip
Depends: php7.2-common, libc6 (>= 2.14), libgeoip1
Pre-Depends: php-common (>= 2:69~)
Breaks: php-geoip (<< 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3~)
Filename: pool/main/p/php-geoip/php7.2-geoip_1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3_amd64.deb
Size: 12436
MD5sum: 8a7fccddff1461e2450d14bb2b5809b0
SHA1: 9a834e0d060edd3044f50a3c3ab5c49f13bbc70f
SHA256: 32fa08e9b25871da42ee54f325868c8cca4e1d8ceca62b28c0e38d5ca3256319
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c