How to Install and Uninstall php7.0-geoip Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 27,2024

1. Install "php7.0-geoip" package

In this section, we are going to explain the necessary steps to install php7.0-geoip on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.0-geoip" package

This guide covers the steps necessary to uninstall php7.0-geoip on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.0-geoip package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.0-geoip
Source: php-geoip
Priority: optional
Section: php
Installed-Size: 53
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3
Recommends: geoip-database
Replaces: php-geoip (<< 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3~)
Provides: php-geoip
Depends: php7.0-common, libc6 (>= 2.14), libgeoip1
Pre-Depends: php-common (>= 2:69~)
Breaks: php-geoip (<< 1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3~)
Filename: pool/main/p/php-geoip/php7.0-geoip_1.1.1+repack1-1+ubuntu18.04.1+deb.sury.org+3_amd64.deb
Size: 12452
MD5sum: 2a63f20483291c84c91bb59d0963f9e6
SHA1: e8b6ed24ecea7a12c006b4beee598631fdec12e4
SHA256: 5078a9e15fa31d158a5196310ce4b000756b89d5003c92e1ec2ac0741e3d3726
Description: GeoIP module for PHP
Description-md5: 8d8f04009feee6b5df8f3a2d8a2d420c