Install geoip-database-contrib by entering the following commands in the terminal:
sudo apt update sudo apt install geoip-database-contrib
Description:
GeoLite binary database (downloader)
GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file-based database. . This package contains a script that downloads the latest version of the binary flavor of the four MaxMind GeoLite databases (Country, IPv6 Country, City, and ASN). . These databases simply contain IP blocks as keys, and countries/cities/ASNs as values, which should be more complete and accurate than using reverse DNS lookups. . The MaxMind database itself is made available under a DFSG-compatible license. However, it is distributed directly in binary format and the source code for generating it is not provided.
Homepage: https://www.maxmind.com/en/geoip2-services-and-databases
Version: 1.19
Section: multiverse/net