geoip-database-contrib_update

GeoLite binary database (downloader)

Install

All systems
curl cmd.cat/geoip-database-contrib_update.sh
Ubuntu
apt-get install geoip-database-contrib
Windows (WSL2)
sudo apt-get update sudo apt-get install geoip-database-contrib
Raspbian
apt-get install geoip-database-contrib

geoip-database-contrib

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.