Install geoipupdate by entering the following commands in the terminal:
sudo apt update sudo apt install geoipupdate
Description:
MaxMind GeoIP/GeoIP2 database updates
The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy binary databases, as supplied by MaxMind. These may be MaxMind's paid products, or their GeoLite variants that are less accurate but freely available to everyone without a subscription or registration.
Homepage: http://dev.maxmind.com/geoip/geoipupdate/
Version: 2.5.0-1
Section: multiverse/net