# Install gpsim with Homebrew, apt, dnf, MacPorts, pacman

Simulator for Microchip's PIC microcontrollers. Version 0.32.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gpsim
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gpsim
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gpsim
```

  Evidence: MacPorts ports tree: devel/gpsim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install gpsim
```

  Evidence: Debian stable package indexes: gpsim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gpsim
```

  Evidence: Fedora Rawhide package metadata: gpsim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S gpsim
```

  Evidence: Arch Linux sync databases: gpsim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:gpsim
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gpsim>
- **Version:** 0.32.1
- **Source summary:** Simulator for Microchip's PIC microcontrollers
- **Homepage:** <https://gpsim.sourceforge.net/>
- **Repository:** <https://sourceforge.net/p/gpsim/code/HEAD/tree/trunk>
- **Upstream docs:** <https://gpsim.sourceforge.net/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/gpsim/gpsim/0.32.0/gpsim-0.32.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gpsim (cli)
- gpsim (alias)

## Dependencies

- gettext
- glib
- popt
- readline

## Build dependencies

- gputils
- pkgconf

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.32.1
- Local data: ok
- Upstream repository: https://gpsim.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

gpsim is a GPL/LGPL software simulator for Microchip PIC microcontrollers, with a command-line interface, GTK-based GUI, debugger-like controls, stimuli, modules, and support for many PIC families.

### Project history

The gpsim site presents the project as part of the GNUPIC ecosystem: a full-featured simulator for Microchip PIC microcontrollers designed for accuracy, speed, and usefulness rather than visual polish.

Its design goal is whole-chip simulation, including the CPU core, I/O pins, and internal peripherals. The documentation emphasizes breakpoints, single-stepping, disassembly, memory inspection and changes, read/write breakpoints, trace buffers, stimuli, and modules.

The project used SourceForge for downloads, support trackers, mailing lists, and Subversion source browsing. Its site points users to released source tarballs, SVN checkout instructions, documentation generated from LyX, and a gpsim-devel mailing list.

### Adoption history

gpsim was adopted in embedded and hobbyist PIC development because it offered a free software simulator with debugging concepts familiar from gdb-like workflows and in-circuit emulator usage.

The project also formed a small ecosystem around GNUPIC tooling. The official related-links section points to gpasm/gputils and other PIC tools, while the Windows section points to Borut Razem's gpsimWin32 port and installer.

SourceForge file feeds show continued packaged tarball releases across the 2010s and into the 2020s, which explains why the tool remains present in Unix package managers despite its older SourceForge-era development style.

### How it is used

Users run `gpsim` to load PIC assembly/object artifacts, select a processor, inspect registers and memory, single-step or run code, set breakpoints, and connect simulated stimuli to pins.

The official documentation treats the command-line interface as central and also documents GUI windows such as register viewers, source browsers, breadboard views, scope windows, trace viewers, and module support.

The project is useful when a developer wants to test microcontroller code behavior without hardware or to debug peripheral interactions before moving to a device or in-circuit tool.

### Why package nerds care

gpsim is a compact example of old-school embedded free software packaging: SourceForge hosting, generated HTML/PDF docs, a devel mailing list, GTK-era GUI pieces, and integration with assembler/debugging workflows.

For package maintainers, its value is in preserving a niche toolchain component for PIC work. It sits near gputils/gpasm rather than modern language-runtime stacks, and it keeps older embedded development workflows installable from standard package managers.

### Timeline

- 2009: SourceForge file feed lists gpsim 0.24.0 release artifacts.
- 2010: gpsim 0.25.0 release artifacts appear on SourceForge.
- 2011: gpsim 0.26.x release artifacts appear on SourceForge.
- 2013: gpsim 0.27.0 release artifacts appear on SourceForge.
- 2017: gpsim site records a page modification date and points users to SVN, docs, and support resources.
- 2019: gpsim 0.31.0 release artifact appears on SourceForge.
- 2020: HTML documentation identifies a 2020 document date.
- 2023: gpsim 0.32.1 release artifact appears on SourceForge.

### Related projects

- gputils and gpasm are named by the gpsim site as related GNUPIC assembler tooling.
- gpsimWin32 is the Windows port referenced by the official gpsim site.
- GTK and gtk+extra are part of the documented GUI/build environment.

### Sources

- <https://gpsim.sourceforge.net/>
- <https://gpsim.sourceforge.net/gpsim.html.LyXconv/gpsim.html>
- <https://sourceforge.net/p/gpsim/code/HEAD/tree/trunk>
- <https://sourceforge.net/projects/gpsim/>
- <https://sourceforge.net/projects/gpsim/rss?path=/gpsim>


## 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:** gpsim
- **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 - gpsim - 0.32.1-2+b1: normalized package name match | Debian stable package indexes: gpsim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simulator for Microchip's PIC microcontrollers
- Debian apt - gpsim-dev - 0.32.1-2+b1: normalized package name match | Debian stable package indexes: gpsim-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Libraries needed only for building gpsim components
- Ubuntu apt - gpsim - 0.32.1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gpsim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simulator for Microchip's PIC microcontrollers
- Ubuntu apt - gpsim-dev - 0.32.1-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gpsim-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Libraries needed only for building gpsim components
- dnf - gpsim - 0.32.1-8.fc44: normalized package name match | Fedora Rawhide package metadata: gpsim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A simulator for Microchip (TM) PIC (TM) microcontrollers | http://gpsim.sourceforge.net/gpsim.html
- dnf - gpsim-devel - 0.32.1-8.fc44: normalized package name match | Fedora Rawhide package metadata: gpsim-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Libraries and files headers for gpsim | http://gpsim.sourceforge.net/gpsim.html
- pacman - gpsim - 0.32.1-2: normalized package name match | Arch Linux sync databases: gpsim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Full-featured software simulator for Microchip PIC microcontrollers | http://gpsim.sourceforge.net/
- MacPorts - gpsim: normalized package name match | MacPorts ports tree: devel/gpsim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [gputils](https://www.automicvault.com/pkg/brew/gputils/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [bossa](https://www.automicvault.com/pkg/brew/bossa/) - Shares av.db curated category or tags: cli, developer-tools, embedded, microcontroller.
- [lpc21isp](https://www.automicvault.com/pkg/brew/lpc21isp/) - Shares av.db curated category or tags: cli, developer-tools, embedded, microcontroller.
- [probe-rs-tools](https://www.automicvault.com/pkg/brew/probe-rs-tools/) - Shares av.db curated category or tags: cli, debugging, developer-tools, embedded.
- [stlink](https://www.automicvault.com/pkg/brew/stlink/) - Shares av.db curated category or tags: cli, debugging, developer-tools, embedded.
- [teensy_loader_cli](https://www.automicvault.com/pkg/brew/teensy-loader-cli/) - Shares av.db curated category or tags: cli, developer-tools, embedded, microcontroller.
- [ufbt](https://www.automicvault.com/pkg/brew/ufbt/) - Shares av.db curated category or tags: cli, debugging, developer-tools, embedded.
- [elf2uf2-rs](https://www.automicvault.com/pkg/brew/elf2uf2-rs/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [sdcc](https://www.automicvault.com/pkg/brew/sdcc/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, embedded, microcontrollers.
- [stm32flash](https://www.automicvault.com/pkg/brew/stm32flash/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, embedded, microcontrollers.

## Combined YAML source

View the package source record on GitHub. [combined/gpsim.yml](https://github.com/automic-vault/db/blob/main/combined/gpsim.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
