Install libgeonames-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgeonames-dev
Description:
geonames - library development files
A library for parsing and querying a local copy of the geonames.org database. . This package contains the header and development files which are needed to use the libgeonames library.
Homepage: https://launchpad.net/geonames
Version: 0.2+17.04.20170220-0ubuntu1
Section: universe/libdevel