# Install gpx with Homebrew, apt, Nix

Gcode to x3g converter for 3D printers running Sailfish. Version 2.6.8 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gpx
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gpx
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:gpx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gpx>
- **Version:** 2.6.8
- **Source summary:** Gcode to x3g converter for 3D printers running Sailfish
- **Homepage:** <https://github.com/markwal/GPX/blob/HEAD/README.md>
- **Repository:** <https://github.com/markwal/GPX>
- **Upstream docs:** <https://github.com/markwal/GPX#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/markwal/GPX/archive/refs/tags/2.6.8.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- gpx (cli)
- machines (cli)
- s3gdump (cli)
- gpx (alias)
- machines (alias)
- s3gdump (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.6.8
- Local data: ok
- Upstream repository: https://github.com/markwal/GPX
- Upstream latest detected: 2.6.8 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
