Install libgps23 by entering the following commands in the terminal:
sudo apt update sudo apt install libgps23
Description:
Global Positioning System - library
The gpsd service daemon can monitor one or more GPS devices connected to a host computer, making all data on the location and movements of the sensors available to be queried on TCP port 2947. . This package provides libgps, a C service library for querying GPS devices. It supports both a low-level interface, which communicates directly with the device to which the GPS is connected, and a high-level interface, which goes through gpsd and is intended for concurrent use by several applications.
Homepage: http://www.catb.org/gpsd/
Version: 3.17-5
Section: universe/libs