在本教程中,我们学习如何安装 gpsd Fedora 36. gpsd 是用于调解对 GPS 访问的服务守护进程
介绍
在本教程中我们学习如何安装 gpsd
在 Fedora 36.
什么是 gpsd
gpsd 是一个服务守护进程,用于协调对通过串行或 USB 接口连接到主机的 GPS 传感器的访问,使其有关传感器的位置/航向/速度的数据可在主机的 TCP 端口 2947 上查询。 借助 gpsd,多个 GPS 客户端应用程序(例如导航和战争驾驶软件)可以共享对 GPS 的访问,而不会发生争用或数据丢失。 此外,gpsd 响应查询的格式比 NMEA 0183 更容易解析。
我们可以用 yum
或者 dnf
安装 gpsd
在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 gpsd。
安装 GPSD Fedora 36 使用dnf
更新 yum 数据库 dnf
使用以下命令。
sudo dnf makecache --refresh
更新 yum 数据库后,我们可以安装 gpsd
使用 dnf
通过运行以下命令:
安装 GPSD Fedora 36 使用 yum
更新 yum 数据库 yum
使用以下命令。
sudo yum makecache --refresh
更新 yum 数据库后,我们可以安装 gpsd
使用 yum
通过运行以下命令:
如何卸载 gpsd Fedora 36
仅卸载 gpsd
打包我们可以使用以下命令:
gpsd 包装内容位于 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
参考
概括
在本教程中我们学习如何安装 gpsd
在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。