How to Install and Uninstall libnginx-mod-http-geoip2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "libnginx-mod-http-geoip2" package

This guide let you learn how to install libnginx-mod-http-geoip2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libnginx-mod-http-geoip2

2. Uninstall "libnginx-mod-http-geoip2" package

In this section, we are going to explain the necessary steps to uninstall libnginx-mod-http-geoip2 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libnginx-mod-http-geoip2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnginx-mod-http-geoip2 package on Ubuntu 21.10 (Impish Indri)

Package: libnginx-mod-http-geoip2
Architecture: amd64
Version: 1.18.0-6ubuntu11
Priority: optional
Section: httpd
Source: nginx
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Nginx Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76
Depends: nginx-common (= 1.18.0-6ubuntu11), libc6 (>= 2.33), libmaxminddb0 (>= 1.0.2)
Recommends: nginx
Filename: pool/main/n/nginx/libnginx-mod-http-geoip2_1.18.0-6ubuntu11_amd64.deb
Size: 12216
MD5sum: c843f8fc123cf8e1d036f493e1e7c98e
SHA1: 73a27089e093b3087d35e91ec21d3c4657d7094a
SHA256: 17de41e2283e7c85235b7561b0f34290098fdce1779b7c1b62d71f35dbaf43aa
SHA512: ce9a97a45c425e5e360b4eb2bf30f40d092e9d7299bd53ec012bf62ab6fa86f4799fc91d7db6f3c50719dc6b73f176ec24c6daa120fa470a1eb835ce572143a1
Homepage: https://nginx.net
Description-en: GeoIP2 HTTP module for Nginx
The ngx_http_geoip2 module creates variables with values depending on the
client IP address, using the precompiled MaxMind GeoIP2 databases.
.
Those variables include country, region, city, latitude, longitude, postal
code, etc.
Description-md5: 4aa061472a244a74d11cb0a4fd296c36