# 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. Also installable with debian: sudo apt install gpx.

## 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
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.6.8
## 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

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


## Combined YAML source

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


## Sources

- 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
