Install lua-geoip by entering the following commands in the terminal:
sudo apt update sudo apt install lua-geoip
Description:
GeoIP library bindings for the Lua language
This package contains bindings for the GeoIP library for the Lua language. It allows one to find the country and the city that any IP address or hostname originates from. It uses a file based database, not reverse DNS lookups.
Homepage: https://github.com/agladysh/lua-geoip
Version: 0.1.2+git20160613-3
Section: universe/interpreters