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

Last updated: November 23,2024

1. Install "php7.4-geoip" package

Please follow the step by step instructions below to install php7.4-geoip on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.4-geoip" package

Please follow the guidance below to uninstall php7.4-geoip on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.4-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.4-common, phpapi-20190902, 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.4-geoip_1.1.1+repack1-5+ubuntu20.04.1+deb.sury.org+4_amd64.deb
Size: 12764
MD5sum: 377a712f95d3533d57bd6b6f6729848b
SHA1: a8b73cc73ed066a96f2dd95ca1f068bf3c85999c
SHA256: 18e4775351ae31a2f4bccfd9b42f70f8f0b7e00aae9304ee7cc8bd0b21b479b9
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c