# 使用 Homebrew, dnf, Nix 安装 garmintools

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

## 安装

```sh
sudo av install brew:garmintools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install garmintools
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install garmintools
```

  证据: Fedora Rawhide package metadata: garmintools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#garmintools
```

  证据: nixpkgs package indexes: pkgs/by-name/ga/garmintools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:garmintools
- **软件包管理器:** Homebrew
- **版本:** 0.10
- **来源摘要:** Interface to the Garmin Forerunner GPS units
- **主页:** <https://code.google.com/archive/p/garmintools/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- garmin_dump (别名)
- garmin_gchart (别名)
- garmin_get_info (别名)
- garmin_gmap (别名)
- garmin_gpx (别名)
- garmin_save_runs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.10
## 项目历史与用法

garmintools is a C utility suite for Linux users communicating with Garmin Forerunner GPS devices over USB.

### 项目历史

The official source archive says implementation began on 30 December 2006. Dave Bailey wrote the software for his Garmin Forerunner 305 after finding that gpsbabel did not expose the Forerunner run and lap data workflows he wanted from the command line.

The 0.10 source archive includes utilities such as garmin_get_info, garmin_save_runs, garmin_dump, garmin_gmap, garmin_gchart, and garmin_gpx, plus a libusb-based C API in src/garmin.h.

### 采用历史

The project reflects the mid-2000s Linux hardware-support pattern: vendor devices, documented USB protocols, libusb, and command-line tools built by users to recover data workflows missing from official desktop software. Later package availability in Homebrew, Fedora, and Nix kept the old toolchain installable.

### 使用方式

garmintools can get device information, save Forerunner runs into .gmn files, dump .gmn contents, produce Google Maps encoded polyline output, and export GPX data. The README warns users that the Linux garmin_gps kernel module conflicts with the userspace tool.

### 为什么软件包爱好者会关心

garmintools is a classic package-manager preservation case: a small C/libusb utility for specific physical hardware, born before modern fitness-device sync ecosystems, still useful enough to carry in source-based and binary package collections.

### 时间线

- 2006: Initial implementation began on 30 December.
- 2007: README dated 22 February documented Forerunner 205/305 USB workflows.
- 2008: 0.06 added man pages and 0.08 added garmin_gchart and garmin_gpx.
- 2009: 0.10 renamed the library to libgarmintools.

### Related projects

- garmintools is related to Garmin Forerunner devices, libusb, the Garmin protocol SDK, gpsbabel, and Linux kernel Garmin USB support.

### 来源

- <https://code.google.com/archive/p/garmintools>
- <https://code.google.com/archive/p/garmintools/source>
- <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/garmintools-0.10.tar.gz>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - garmintools: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/garmintools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - garmintools - 0.10-35.fc45: normalized package name match | Fedora Rawhide package metadata: garmintools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for Garmin GPS-devices | https://garmintools.googlecode.com
- dnf - garmintools-devel - 0.10-35.fc45: normalized package name match | Fedora Rawhide package metadata: garmintools-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development-files for garmintools | https://garmintools.googlecode.com


## Combined YAML source

View the package source record on GitHub. [combined/garmintools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/garmintools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
