How To Install gpsd on Fedora 34
Introduction
In this tutorial we learn how to install gpsd
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gpsd.
Install gpsd on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gpsd
using dnf
by running the following command:
sudo dnf -y install gpsd
Install gpsd on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the gpsd
package we can use the following command:
sudo dnf remove gpsd
gpsd Package Contents on Fedora 34
/etc/sysconfig/gpsd
/usr/bin/gpsctl
/usr/bin/gpsmon
/usr/bin/ntpshmmon
/usr/bin/ppscheck
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/66573274508c20842caf5ac00665ebe55fa88b
/usr/lib/.build-id/92
/usr/lib/.build-id/92/8a1e93a206fcda0b3a988117cbee48932258cd
/usr/lib/.build-id/95
/usr/lib/.build-id/95/0e41707ddca5f72877f2692d582c8353778048
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/6192e9f2ce03b9395d7f632c39968cb39bc1f7
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/2effde4261c3fd2e40266117957c81269273fe
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/5a8843caa5cb1b3f94ec8c3367e761e6d02520
/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 34 using yum and dnf.