Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 gpsd

查看 gpsd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gpsd

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gpsd

MacPorts ports tree · net/gpsd/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gpsd

Alpine Linux edge package indexes · gpsd · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install gpsd

Debian stable package indexes · gpsd · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gpsd

Fedora Rawhide package metadata · gpsd · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gpsd

nixpkgs package indexes · pkgs/by-name/gp/gpsd/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gpsd

Arch Linux sync databases · gpsd · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gpsd

openSUSE Tumbleweed package metadata · gpsd · 来源: download.opensuse.org

概览

软件包摘要

Global Positioning System (GPS) daemon

命令和别名

  • cgps
  • gps2udp
  • gpsctl
  • gpsd
  • gpsdctl
  • gpsdebuginfo
  • gpsdecode
  • gpsmon
  • gpspipe
  • gpsrinex
  • gpssnmp
  • gpxlogger
  • lcdgps
  • ntpshmmon
  • ppscheck

历史

项目历史与用法

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.

时间线

  • 1995: Remco Treffkorn starts gpsd.
  • 1999-2002: EarthMate proprietary-format work strains the original architecture.
  • 2004: Eric S. Raymond refactors the project and moves it toward gpsd 2.0.
  • 2005: Packet sniffing, autobauding, and non-NMEA driver architecture appear.
  • 2006: Vendor binary protocols, test tools, regression tests, multi-device support, and hotplug autoconfiguration are in place.
  • 2009: GPSD command protocol is redesigned and AIS receiver support is added.
  • 2010: Project moves from Subversion to git.
  • 2011: Build system changes from autotools to scons; gpsd 3.0 ships.
  • 2019: Repository, bug tracker, and web content move to GitLab.

Related projects

  • Kismet, GpsDrive, Navit, Viking, GeoClue, OpenCPN, and Firefox/Mozilla are listed by the gpsd site among applications or systems using gpsd.
  • NMEA 0183, AIS, SiRF, Garmin, u-blox, RTCM, NTP, and PPS are recurring protocols or integrations in gpsd documentation.
  • Gypsy is named by the gpsd history as a later competing project.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cgpscli全局可执行文件
gps2udpcli全局可执行文件
gpsctlcli全局可执行文件
gpsdcli全局可执行文件
gpsdctlcli全局可执行文件
gpsdebuginfocli全局可执行文件
gpsdecodecli全局可执行文件
gpsmoncli全局可执行文件
gpspipecli全局可执行文件
gpsrinexcli全局可执行文件
gpssnmpcli全局可执行文件
gpxloggercli全局可执行文件
lcdgpscli全局可执行文件
ntpshmmoncli全局可执行文件
ppscheckcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.27.5
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://gpsd.gitlab.io/gpsd/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://gpsd.gitlab.io/gpsd/none 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namegpsd
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gpsd 3.25-5+deb13u1

Global Positioning System - daemon

https://gpsd.io

sudo apt install gpsd
  • Section: misc
  • Architecture: amd64
  • 9 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gpsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gpsd-clients 3.25-5+deb13u1

Global Positioning System - clients

https://gpsd.io

sudo apt install gpsd-clients
  • Section: misc
  • Architecture: amd64
  • Source Package: gpsd
  • 14 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gpsd-clients from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gpsd-tools 3.25-5+deb13u1

Global Positioning System - tools

https://gpsd.io

sudo apt install gpsd-tools
  • Section: misc
  • Architecture: amd64
  • Source Package: gpsd
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gpsd-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgps-dev 3.25-5+deb13u1

Global Positioning System - development files

https://gpsd.io

sudo apt install libgps-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gpsd
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgps-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgps30t64 3.25-5+deb13u1

Global Positioning System - library

https://gpsd.io

sudo apt install libgps30t64
  • Section: libs
  • Architecture: amd64
  • Source Package: gpsd
  • 3 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgps30t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libqgpsmm-dev 3.25-5+deb13u1

Global Positioning System - Qt wrapper for libgps (development)

https://gpsd.io

sudo apt install libqgpsmm-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gpsd
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libqgpsmm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libqgpsmm30t64 3.25-5+deb13u1

Global Positioning System - Qt wrapper for libgps

https://gpsd.io

sudo apt install libqgpsmm30t64
  • Section: libs
  • Architecture: amd64
  • Source Package: gpsd
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libqgpsmm30t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-gps 3.25-5+deb13u1

Global Positioning System - Python 3 libraries

https://gpsd.io

sudo apt install python3-gps
  • Section: python
  • Architecture: amd64
  • Source Package: gpsd
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-gps from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gpsd

nix profile install nixpkgs#gpsd
  • normalized package name match
  • 匹配方式:Gpsd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gpsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gpsd 3.25-3ubuntu3

Global Positioning System - daemon

https://gpsd.io

sudo apt install gpsd
  • Section: misc
  • Architecture: amd64
  • 9 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gpsd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gpsd-clients 3.25-3ubuntu3

Global Positioning System - clients

https://gpsd.io

sudo apt install gpsd-clients
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: gpsd
  • 14 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gpsd-clients from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gpsd-tools 3.25-3ubuntu3

Global Positioning System - tools

https://gpsd.io

sudo apt install gpsd-tools
  • Section: misc
  • Architecture: amd64
  • Source Package: gpsd
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gpsd-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgps-dev 3.25-3ubuntu3

Global Positioning System - development files

https://gpsd.io

sudo apt install libgps-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gpsd
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgps-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgps30t64 3.25-3ubuntu3

Global Positioning System - library

https://gpsd.io

sudo apt install libgps30t64
  • Section: libs
  • Architecture: amd64
  • Source Package: gpsd
  • 3 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgps30t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libqgpsmm-dev 3.25-3ubuntu3

Global Positioning System - Qt wrapper for libgps (development)

https://gpsd.io

sudo apt install libqgpsmm-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gpsd
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libqgpsmm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libqgpsmm30t64 3.25-3ubuntu3

Global Positioning System - Qt wrapper for libgps

https://gpsd.io

sudo apt install libqgpsmm30t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gpsd
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gpsd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libqgpsmm30t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment