# 使用 Homebrew, apt, Nix 安装 gpx

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

## 安装

```sh
sudo av install brew:gpx
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gpx
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gpx
```

  证据: Debian stable package indexes: gpx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gpx
```

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

## 软件包事实

- **软件包键:** brew:gpx
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gpx>
- **版本:** 2.6.8
- **来源摘要:** Gcode to x3g converter for 3D printers running Sailfish
- **主页:** <https://github.com/markwal/GPX/blob/HEAD/README.md>
- **仓库:** <https://github.com/markwal/GPX>
- **上游文档:** <https://github.com/markwal/GPX#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/markwal/GPX/archive/refs/tags/2.6.8.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- gpx (cli)
- machines (cli)
- s3gdump (cli)
- gpx (别名)
- machines (别名)
- s3gdump (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.6.8
- 本地数据: OK
- 上游仓库: https://github.com/markwal/GPX
- 检测到的最新版本: 2.6.8 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

GPX is a command-line post-processing utility that converts sliced 3D-printer G-code into X3G files for MakerBot Cupcake, Thing-O-Matic, Replicator-family, and clone printers, including Sailfish firmware setups.

### 项目历史

The README says GPX was created by Dr. Henry Thomas, also known as Wingcommander, in April 2013. Repository history begins in April 2013 with work-in-progress commits and an alpha 0.1 commit.

The tool's purpose was to open older MakerBot-style printers to a wider set of slicing tools such as Cura, KISSlicer, S3DCreator, and Slic3r by translating their G-code output into the X3G format those printers could consume.

### 采用历史

GPX found a home among owners of pre-fifth-generation MakerBot printers and compatible clones, especially users running Sailfish firmware or using modern slicers instead of the original MakerBot workflow.

The README documents Linux package installation, Windows release zips, macOS dmg files, and Homebrew, which explains its presence as a package-manager utility rather than only a printer-forum binary.

### 使用方式

Typical usage is `gpx` with a machine preset and a sliced `.gcode` input, producing an `.x3g` output for SD-card printing or a downstream workflow. It also accepts custom machine and EEPROM `.ini` files through command-line options, but the official README does not define a fixed config-file location.

Related workflows include GpxUi for users who want a graphical wrapper and OctoPrint-GPX for translating G-code to X3G inside an OctoPrint communication path.

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

GPX is a preservation package for a specific hardware generation. It keeps old MakerBot-compatible printers usable with general slicers and modern host operating systems.

It is also a good example of why package managers carry small hardware translators: the binary is tiny, the domain is narrow, and the alternative is reviving a full legacy printer software stack.

### 时间线

- 2013-04: GPX is created by Dr. Henry Thomas.
- 2013-04-11: Public repository history begins with work-in-progress commits.
- 2013-04-17: Repository history records an alpha 0.1 commit.
- 2014-2015: README copyright credits additional changes by DNewman and MWalker.
- 2020-11-26: Repository history records version-number work for 2.6.8.

### Related projects

- GpxUi is a graphical wrapper around GPX.
- OctoPrint-GPX uses GPX to translate G-code to X3G under OctoPrint for MakerBot-style printers.
- Sailfish firmware is a common target firmware named by GPX and OctoPrint-GPX documentation.

### 来源

- <https://github.com/markwal/GPX>
- <https://github.com/markwal/GPX#readme>
- <https://github.com/markwal/GpxUi>
- <https://github.com/markwal/OctoPrint-GPX>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gpx
- **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:** head, stable

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

- Debian apt - gpx - 2.6.8-1: normalized package name match | Debian stable package indexes: gpx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Gcode to x3g conversion post processor | https://github.com/markwal/GPX
- Nix - gpx: normalized package name match | nixpkgs package indexes: pkgs/by-name/gp/gpx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gpx - 2.6.8-1: normalized package name match | Ubuntu 24.04 LTS package indexes: gpx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Gcode to x3g conversion post processor | https://github.com/markwal/GPX


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [graphviz2drawio](https://www.automicvault.com/zh-hans/pkg/brew/graphviz2drawio/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [html2markdown](https://www.automicvault.com/zh-hans/pkg/brew/html2markdown/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [html2text](https://www.automicvault.com/zh-hans/pkg/brew/html2text/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [htmldoc](https://www.automicvault.com/zh-hans/pkg/brew/htmldoc/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [markdown](https://www.automicvault.com/zh-hans/pkg/brew/markdown/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [pgdbf](https://www.automicvault.com/zh-hans/pkg/brew/pgdbf/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [tfk8s](https://www.automicvault.com/zh-hans/pkg/brew/tfk8s/) - Shares av.db curated category or tags: cli, conversion, developer-tools.
- [ttf2pt1](https://www.automicvault.com/zh-hans/pkg/brew/ttf2pt1/) - Shares av.db curated category or tags: cli, conversion, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/gpx.yml](https://github.com/automic-vault/db/blob/main/combined/gpx.yml)


## 来源

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