Install geoip-database by entering the following commands in the terminal:
sudo apt update sudo apt install geoip-database
Description:
IP lookup command line tools that use the GeoIP library (country database)
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 database simply contains IP blocks as keys, and countries as values and it should be more complete and accurate than using reverse DNS lookups. . This package contains the free GeoLiteCountry database.
Homepage: http://www.maxmind.com/
Version: 20180315-1
Section: net