How to Install and Uninstall php-geoip Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: February 24,2025
Notice
You can also install and uninstall the php-geoip on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php-geoip" package
Please follow the steps below to install php-geoip on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php-geoip
Copied
2. Uninstall "php-geoip" package
Please follow the guidelines below to uninstall php-geoip on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php-geoip
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-geoip package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php-geoip
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-5+ubuntu22.04.1+deb.sury.org+4
Recommends: geoip-database
Depends: php7.4-geoip
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-geoip/php-geoip_1.1.1+repack1-5+ubuntu22.04.1+deb.sury.org+4_amd64.deb
Size: 5682
MD5sum: e66340cd45976c5875bf3653e5e12411
SHA1: ff765e1cf3d22b92817f864827057e4c981cd85d
SHA256: c835f6277c31e51add5587b40f4fe6a051ac4bf5d0f694651b526ccb55730279
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-5+ubuntu22.04.1+deb.sury.org+4
Recommends: geoip-database
Depends: php7.4-geoip
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-geoip/php-geoip_1.1.1+repack1-5+ubuntu22.04.1+deb.sury.org+4_amd64.deb
Size: 5682
MD5sum: e66340cd45976c5875bf3653e5e12411
SHA1: ff765e1cf3d22b92817f864827057e4c981cd85d
SHA256: c835f6277c31e51add5587b40f4fe6a051ac4bf5d0f694651b526ccb55730279
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c