How To Install gpsd on Fedora 36

In this tutorial we learn how to install gpsd in Fedora 36. gpsd is Service daemon for mediating access to a GPS

Introduction

In this tutorial we learn how to install gpsd on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gpsd.

Install gpsd on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the gpsd package we can use the following command:

sudo dnf remove gpsd

gpsd Package Contents on Fedora 36

/etc/sysconfig/gpsd
/usr/bin/gpsctl
/usr/bin/gpsmon
/usr/bin/ntpshmmon
/usr/bin/ppscheck
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/d23ae217932d297341854bdb018b4713241cc7
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/329e9ff1be483befffa7146ba1e99f9f1c9d3b
/usr/lib/.build-id/95
/usr/lib/.build-id/95/5295fdf43056fbe992e04114d425bdde66fe6d
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/d1d7ffbb951c58361f7cb837d0d0ce4749d8e9
/usr/lib/.build-id/da
/usr/lib/.build-id/da/8fe2a586769c3e275b127963e35322572a14ba
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/e9d79be38f1864f0e039decc97f7fda4a15b93
/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/NEWS
/usr/share/doc/gpsd/README.adoc
/usr/share/licenses/gpsd
/usr/share/licenses/gpsd/COPYING
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).