How to Install and Uninstall php-geoip Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "php-geoip" package

Please follow the steps below to install php-geoip on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-geoip

2. Uninstall "php-geoip" package

Here is a brief guide to show you how to uninstall php-geoip on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-geoip package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-geoip
Priority: optional
Section: universe/php
Installed-Size: 50
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.0-4
Depends: php-common (>= 1:7.0+33~), phpapi-20151012, libc6 (>= 2.14), libgeoip1
Recommends: geoip-database
Filename: pool/universe/p/php-geoip/php-geoip_1.1.0-4_amd64.deb
Size: 10596
MD5sum: 4a1852eb91208e258cb671137ba7f792
SHA1: 199cd3cdc45c462f2c73b535c68de7168d6347a8
SHA256: b63f1ba5e2eca530d550305667e26cab200d0b070b375669bbe124d32604c4c8
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
Homepage: http://pecl.php.net/package/geoip/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu