How To Install gpsd on Rocky Linux 8
Introduction
In this tutorial we learn how to install gpsd
on Rocky Linux 8.
What is gpsd
gpsd is a service daemon that mediates access to a GPS sensor connected to the host computer by serial or USB interface, making its data on the location/course/velocity of the sensor available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and war-driving software) can share access to a GPS without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than NMEA 0183.
We can use yum
or dnf
to install gpsd
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gpsd.
Install gpsd on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gpsd
using dnf
by running the following command:
sudo dnf -y install gpsd
Install gpsd on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gpsd
using yum
by running the following command:
sudo yum -y install gpsd
How To Uninstall gpsd on Rocky Linux 8
To uninstall only the gpsd
package we can use the following command:
sudo dnf remove gpsd
gpsd Package Contents on Rocky Linux 8
/etc/sysconfig/gpsd
/usr/bin/gpsctl
/usr/bin/gpsmon
/usr/bin/ntpshmmon
/usr/bin/ppscheck
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/e43a406bb6e79ab8f041de1311b1ca93fcb80f
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/5e0292dc925d4099b98323863b8f3a8acb98fe
/usr/lib/.build-id/43
/usr/lib/.build-id/43/b1cbceb4b1da23e2182f3b04cb5db5b77b3b32
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/c0027da1f5ce329f8d529dd205ce4c5b2e0519
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/0b5718b31c73e2980f1f7b01dae72f56674433
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/e0125a6449d878058c98a8950cb0ea2035fe79
/usr/lib/systemd/system/gpsd.service
/usr/lib/systemd/system/gpsd.socket
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/99-gpsd.rules
/usr/sbin/gpsd
/usr/sbin/gpsdctl
/usr/sbin/gpsinit
/usr/share/doc/gpsd
/usr/share/doc/gpsd/COPYING
/usr/share/doc/gpsd/README
/usr/share/man/man1/gpsctl.1.gz
/usr/share/man/man1/gpsmon.1.gz
/usr/share/man/man1/ntpshmmon.1.gz
/usr/share/man/man8/gpsd.8.gz
/usr/share/man/man8/gpsdctl.8.gz
/usr/share/man/man8/gpsinit.8.gz
/usr/share/man/man8/ppscheck.8.gz
References
Summary
In this tutorial we learn how to install gpsd
on Rocky Linux 8 using yum and dnf.