gpsd

GPS daemon that manages and distributes GPS data to client applications

brewmacoslinux
Try with needOr install directly
Source

About

Global Positioning System (GPS) daemon

Commands

gpsdgpsctlgpspipegpsmonntpshmmon

Examples

Start the GPS daemon listening on default port 2947$ gpsd /dev/ttyUSB0
Stream GPS data in JSON format from running daemon$ gpspipe -r localhost
Monitor GPS daemon connections and data in real-time$ gpsmon localhost:2947