Install libgeo-ipfree-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libgeo-ipfree-perl
Description:
module to look up the country of an IPv4 address
Geo::IPfree is a Perl module that determines the originating country of an arbitrary IPv4 address. It uses a local file-based database to provide basic geolocation services.
Homepage: https://metacpan.org/release/Geo-IPfree
Version: 1.151940-1
Section: universe/perl