How to Install and Uninstall libnginx-mod-http-geoip2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 20,2024

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

Please follow the guidelines below to install libnginx-mod-http-geoip2 on Ubuntu 21.04 (Hirsute Hippo)

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

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

Please follow the guidance below to uninstall libnginx-mod-http-geoip2 on Ubuntu 21.04 (Hirsute Hippo):

$ 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.04 (Hirsute Hippo)

Package: libnginx-mod-http-geoip2
Architecture: amd64
Version: 1.18.0-6ubuntu8.2
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-6ubuntu8.2), libc6 (>= 2.33), libmaxminddb0 (>= 1.0.2)
Recommends: nginx
Filename: pool/main/n/nginx/libnginx-mod-http-geoip2_1.18.0-6ubuntu8.2_amd64.deb
Size: 11868
MD5sum: f78a39cf43526df25258526029642356
SHA1: 9fa5aeaf742d28345b62290ff797c8046d89ae7f
SHA256: 5a132c4d5c66b4a4b3ff01c6839a3218542f8fcb28f116b64f62c3dcbabb6af5
SHA512: abdc98dbb31d4af3c1589182dd4480ed99f2904dee4671db07653cfab755c08269be0a932fe9e289a84388bce8576b806a6f0cee7a7a3f278c9fe17e1c5090c1
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

Package: libnginx-mod-http-geoip2
Architecture: amd64
Version: 1.18.0-6ubuntu8
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-6ubuntu8), libc6 (>= 2.33), libmaxminddb0 (>= 1.0.2)
Recommends: nginx
Filename: pool/main/n/nginx/libnginx-mod-http-geoip2_1.18.0-6ubuntu8_amd64.deb
Size: 11732
MD5sum: 5b903ad4ddaa92b3b3be810b42b1a77f
SHA1: 622e5ee2b94e7386ce06b5be37bb821a3b387827
SHA256: d265ef204912799bbd8c14128fc429133d96c50e80184add8d1f27df274861b6
SHA512: 8755be5dc152daa7a34fea6ed0f70c3f231aa47f2c3ea22b27eed6fe24b70bc0dd8385310dcc9106807a37db9da321d79bc073bb326b57bc4d7c1a0ed9e5c7d2
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