How to Install and Uninstall libpam-geoip Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 28,2024

1. Install "libpam-geoip" package

Please follow the step by step instructions below to install libpam-geoip on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libpam-geoip

2. Uninstall "libpam-geoip" package

In this section, we are going to explain the necessary steps to uninstall libpam-geoip on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libpam-geoip $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpam-geoip package on Ubuntu 21.04 (Hirsute Hippo)

Package: libpam-geoip
Architecture: amd64
Version: 2.1.1-3
Priority: optional
Section: universe/admin
Source: pam-geoip
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Patrick Matthäi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 56
Depends: libc6 (>= 2.29), libmaxminddb0 (>= 1.0.2), libpam0g (>= 0.99.7.1)
Suggests: geoipupdate
Filename: pool/universe/p/pam-geoip/libpam-geoip_2.1.1-3_amd64.deb
Size: 16236
MD5sum: 68e91055db1ad0c8b46036f13532fd74
SHA1: 35f8c751c296458e98449e40f163487396f75023
SHA256: dce6261ab04182a0fbceb64085bf948974757d846392fa6a35c078e45b2b9b80
SHA512: c07388aae37b891a632d5faa8a03b9d0a65463681e36febefc4f27c1250943717d4bbd3beca0f4c098ef5c2457969bd040f139521715f7c5a8353010409bd2c5
Homepage: https://github.com/amishmm/pam_geoip
Description-en: PAM module checking access of source IPs with a GeoIP2 database
This PAM module provides GeoIP2 checking for logins. The user can be
allowed or denied based on the location of the originating IP address.
This is similar to pam_access, but uses a GeoIP2 City database instead
of host name / IP matching.
Description-md5: f3d86399dec235aaf05ce4ff59b14f91