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

Last updated: November 05,2024

1. Install "php7.1-geoip" package

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

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

2. Uninstall "php7.1-geoip" package

This tutorial shows how to uninstall php7.1-geoip on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.1-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.1-common, phpapi-20160303, 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.1-geoip_1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4_amd64.deb
Size: 12724
MD5sum: f9b7fb06615f2d25659b3ac4adb0340f
SHA1: d02970fa5415672f66aaf7c3cd947c5313ca29e7
SHA256: e1c8afda27eeb98cd0e357bd7dcf8c823adefcd65f7f7c084f4a4d3a7c56c2ba
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c