macOS
brew install gpsdlocal Homebrew formula metadata
安装
brew install gpsdlocal Homebrew formula metadata
sudo apk add gpsdAlpine Linux edge package indexes · gpsd · 来源: dl-cdn.alpinelinux.org
sudo dnf install gpsdFedora Rawhide package metadata · gpsd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gpsdnixpkgs package indexes · pkgs/by-name/gp/gpsd/package.nix · 来源: api.github.com
sudo pacman -S gpsdArch Linux sync databases · gpsd · 来源: geo.mirror.pkgbuild.com
sudo zypper install gpsdopenSUSE Tumbleweed package metadata · gpsd · 来源: download.opensuse.org
概览
Global Positioning System (GPS) daemon
历史
gpsd is a Unix-oriented service daemon that listens to GPS, GNSS, DGPS, and AIS receivers and republishes their data over a local network socket so multiple clients can share one device.
The gpsd project history says Remco Treffkorn started the project in 1995. Derrick Brashear and Russ Nelson were among the early maintainers, and the original architecture remained useful enough that it attracted little attention until proprietary receiver support strained it.
Eric S. Raymond began working on gpsd in August 2004 after encountering a problem with a BU-303 USB GPS. The project history describes a substantial refactor, added documentation, new features, and libgps as the prototype for gpsd 2.0.
In early 2005 gpsd was reshaped around packet sniffing, autobauding, and a daemon layer over device drivers. The project history identifies SiRF as the first non-NMEA device family supported by that redesign.
By the end of 2006, gpsd supported several vendor binary protocols along with NMEA and Zodiac, had a larger suite of GPS test tools, a regression-test framework, multi-device support, and hotplug autoconfiguration.
The gpsd website describes the daemon as widely deployed in mobile embedded systems and names uses in Android phone location services, drones, robot submarines, driverless cars, aircraft, marine navigation systems, and military vehicles.
Its adoption pattern is package-manager friendly: distributions can install gpsd, udev integration, client tools, and libraries once, then many applications can consume position data without each application speaking serial protocols directly.
The project history records several forks, including GPSdrive's variant, ngpsd, and tgpsd, then notes that gpsd became large and visible enough to absorb most potential fork pressure.
Users commonly run `gpsd` as a daemon attached to a serial, USB, or Bluetooth receiver. The daemon listens on TCP port 2947 by default and serves clients such as `cgps`, `gpspipe`, mapping tools, time synchronization setups, and application libraries.
The official manpage emphasizes that gpsd hides receiver differences, discovers speed and protocol, supports NMEA and many binary protocols, and lets multiple clients avoid contention for one serial device.
gpsd is also part of timekeeping workflows: its tools and documentation cover NTP/shared-memory integration and PPS diagnostics for hosts using GPS as a time source.
gpsd is one of the canonical examples of a daemon package that turns messy hardware protocols into a stable local service API. For packagers, the interesting parts are not just the daemon but the client tools, udev/hotplug rules, Python/C bindings, manpages, and optional protocol support.
It also has an unusually explicit project history, including migrations from older forges to GitLab, a Subversion-to-git switch in 2010, and an autotools-to-scons switch in 2011.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cgps | cli | 全局可执行文件 | |
gps2udp | cli | 全局可执行文件 | |
gpsctl | cli | 全局可执行文件 | |
gpsd | cli | 全局可执行文件 | |
gpsdctl | cli | 全局可执行文件 | |
gpsdebuginfo | cli | 全局可执行文件 | |
gpsdecode | cli | 全局可执行文件 | |
gpsmon | cli | 全局可执行文件 | |
gpspipe | cli | 全局可执行文件 | |
gpsrinex | cli | 全局可执行文件 | |
gpssnmp | cli | 全局可执行文件 | |
gpxlogger | cli | 全局可执行文件 | |
lcdgps | cli | 全局可执行文件 | |
ntpshmmon | cli | 全局可执行文件 | |
ppscheck | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gpsd |
|---|---|
| 版本 | 3.27.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gpsd |
| 主页 | https://gpsd.gitlab.io/gpsd/ |
| 仓库 | https://gitlab.com/gpsd/gpsd |
| 上游文档 | https://gpsd.gitlab.io/gpsd/gpsd.html |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://download.savannah.gnu.org/releases/gpsd/gpsd-3.27.5.tar.xz |
| 构建依赖 | asciidoctor, scons |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | gpsd does not automatically detect GPS device addresses. Once started, you need to force it to connect to your GPS: GPSD_SOCKET="$HOMEBREW_PREFIX/var/gpsd.sock" $HOMEBREW_CELLAR/gpsd/3.27.5/sbin/gpsdctl add /dev/tty.usbserial-XYZ |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gpsd |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gpsd 3.25-5+deb13u1
Global Positioning System - daemon
sudo apt install gpsdgpsd-clients 3.25-5+deb13u1
Global Positioning System - clients
sudo apt install gpsd-clientsgpsd-tools 3.25-5+deb13u1
Global Positioning System - tools
sudo apt install gpsd-toolslibgps-dev 3.25-5+deb13u1
Global Positioning System - development files
sudo apt install libgps-devlibgps30t64 3.25-5+deb13u1
Global Positioning System - library
sudo apt install libgps30t64libqgpsmm-dev 3.25-5+deb13u1
Global Positioning System - Qt wrapper for libgps (development)
sudo apt install libqgpsmm-devlibqgpsmm30t64 3.25-5+deb13u1
Global Positioning System - Qt wrapper for libgps
sudo apt install libqgpsmm30t64python3-gps 3.25-5+deb13u1
Global Positioning System - Python 3 libraries
sudo apt install python3-gpsgpsd
nix profile install nixpkgs#gpsdgpsd 3.25-3ubuntu3
Global Positioning System - daemon
sudo apt install gpsdgpsd-clients 3.25-3ubuntu3
Global Positioning System - clients
sudo apt install gpsd-clientsgpsd-tools 3.25-3ubuntu3
Global Positioning System - tools
sudo apt install gpsd-toolslibgps-dev 3.25-3ubuntu3
Global Positioning System - development files
sudo apt install libgps-devlibgps30t64 3.25-3ubuntu3
Global Positioning System - library
sudo apt install libgps30t64libqgpsmm-dev 3.25-3ubuntu3
Global Positioning System - Qt wrapper for libgps (development)
sudo apt install libqgpsmm-devlibqgpsmm30t64 3.25-3ubuntu3
Global Positioning System - Qt wrapper for libgps
sudo apt install libqgpsmm30t64来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.