How to Install and Uninstall php7.0-geoip Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 27,2024

1. Install "php7.0-geoip" package

This is a short guide on how to install php7.0-geoip on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.0-geoip" package

Please follow the guidelines below to uninstall php7.0-geoip on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.0-geoip package on Ubuntu 21.10 (Impish Indri)

Package: php7.0-geoip
Source: php-geoip
Priority: optional
Section: php
Installed-Size: 57
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-1+ubuntu21.10.1+deb.sury.org+3
Recommends: geoip-database
Replaces: php-geoip (<< 1.1.1+repack1-1+ubuntu21.10.1+deb.sury.org+3~)
Provides: php-geoip
Depends: php7.0-common, libc6 (>= 2.14), libgeoip1 (>= 1.6.12)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-geoip (<< 1.1.1+repack1-1+ubuntu21.10.1+deb.sury.org+3~)
Filename: pool/main/p/php-geoip/php7.0-geoip_1.1.1+repack1-1+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 13482
MD5sum: 1a0a437268e14a7d624fca5408a9ed70
SHA1: 06399b0793c5fd4c11a1c2b4afd3923c10cf1353
SHA256: 4d7d9c89d62a687b547bc11e394cd891ad56e690be9c050efeffe3eae373d6c6
Description-en: GeoIP module for PHP
This PHP module allows you to find the location of an IP address -
City, State, Country, Longitude, Latitude, and other information as
all, such as ISP and connection type.
.
For more info, please visit Maxmind's website:
http://www.maxmind.com/
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c