# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 gputils

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

## 安装

```sh
sudo av install brew:gputils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gputils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gputils
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gputils
```

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

- dnf (92%):

```sh
sudo dnf install gputils
```

  证据: Fedora Rawhide package metadata: gputils 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#gputils
```

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

- pacman (92%):

```sh
sudo pacman -S gputils
```

  证据: Arch Linux sync databases: gputils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gputils
```

  证据: openSUSE Tumbleweed package metadata: gputils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:gputils
- **软件包管理器:** Homebrew
- **版本:** 1.5.2
- **来源摘要:** GNU PIC Utilities
- **主页:** <https://gputils.sourceforge.io/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gpasm (别名)
- gpdasm (别名)
- gplib (别名)
- gplink (别名)
- gpstrip (别名)
- gpvc (别名)
- gpvo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gputils, the GNU PIC Utilities, is a collection of command-line development tools for Microchip PIC microcontrollers. Its core programs include the gpasm assembler, gplink linker, and gplib librarian.

### 项目历史

The project grew out of gpasm, a GNU-style assembler for Microchip PIC devices. The official news archive records the gputils package being created on 2001-12-12 so gpasm, a new linker, and a library tool could be distributed together as GNU PIC Utilities.

gputils was created by Craig Franklin and James Bowman. The project page credits later support to Molnar Karoly, Borut Razem, David Barnett, Scott Dattalo, and Marko Kohtala.

The long release trail shows the package steadily chasing compatibility with Microchip's MPASM, MPLINK, and MPLIB tools: processor definition updates, COFF support, linker scripts, object-file work, MPLAB and MPLAB X synchronization, and bug fixes across PIC device families.

### 采用历史

gputils became a standard open-source PIC toolchain component because it provided Unix-friendly assembler, linker, librarian, disassembler, object viewer, and COD viewer tools for a microcontroller family historically served by vendor tools.

The official site lists ports or packages for many systems, including ALT Linux, Arch Linux, Debian, Fedora, FreeBSD, Gentoo, Homebrew, NetBSD, OpenBSD, openSUSE, Slackware, Void Linux, and Ubuntu. That broad distro presence is a strong signal of long-term package-manager adoption.

Microchip test files also shaped the project: the official site says Microchip provided MPASM test files, which the project reformatted and used for compatibility testing.

### 使用方式

Typical use is embedded build work: assemble PIC assembly with gpasm, link objects with gplink, manage libraries with gplib, inspect or disassemble artifacts with gpvo, gpvc, gpdasm, gpstrip, and related tools.

The package is especially useful in makefile-driven or cross-platform embedded workflows where a free command-line PIC assembler is easier to automate than a vendor IDE.

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

gputils is the sort of package that explains why distro archives matter: it keeps older embedded hardware workflows reproducible even when vendor toolchains, IDEs, and supported host platforms move on.

The package also illustrates compatibility-as-maintenance. Much of its history is not flashy feature work but keeping device headers, linker scripts, object formats, diagnostics, and test behavior aligned enough with Microchip tooling for old projects to keep building.

### 时间线

- 2001-03-04: gpasm 0.9.2 improves compatibility with Microchip MPASM test files.
- 2001-12-12: gputils package is created around gpasm, a new linker, and a library tool.
- 2002-01-13: gputils is imported to CVS.
- 2002-01-20: gputils 0.10.0 is released.
- 2003-03-14: gputils 0.11.0 adds initial relocatable object support.
- 2004-11-14: preliminary MPLAB plugin release is announced.
- 2012-12-31: gputils 1.0.0 is released.
- 2016-08-21: gputils 1.5.0 is released with gpasm and gplink changes and MPLAB X synchronization.
- 2022-01-30: gputils 1.5.2 is released with gplink features, PIC16F184XX support, and bug fixes.

### Related projects

- gpsim is named by the official site as a gputils-compatible simulator.
- Microchip MPASM, MPLINK, and MPLIB are the vendor tools that gputils aims to be compatible with.
- The gputils MPLAB plugin connects the command-line tools to Microchip's older Windows IDE workflow.

### 来源

- <https://gputils.sourceforge.io/>
- <https://gputils.sourceforge.io/gputils.pdf>
- <https://gputils.sourceforge.io/previous.html>
- <https://sourceforge.net/p/gputils/code/HEAD/tree/trunk>
- <https://sourceforge.net/p/gputils/wiki/Home/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - gputils - 1.5.2-1: normalized package name match | Debian stable package indexes: gputils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU PIC utilities | https://gputils.sourceforge.net
- Debian apt - gputils-common - 1.5.2-1: normalized package name match | Debian stable package indexes: gputils-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | headers and linker scripts for gputils | https://gputils.sourceforge.net
- Debian apt - gputils-doc - 1.5.2-1: normalized package name match | Debian stable package indexes: gputils-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for gputils | https://gputils.sourceforge.net
- Nix - gputils: normalized package name match | nixpkgs package indexes: pkgs/by-name/gp/gputils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gputils - 1.4.0-0.2: normalized package name match | Ubuntu 24.04 LTS package indexes: gputils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU PIC utilities | http://gputils.sourceforge.net
- Ubuntu apt - gputils-common - 1.4.0-0.2: normalized package name match | Ubuntu 24.04 LTS package indexes: gputils-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | headers and linker scripts for gputils | http://gputils.sourceforge.net
- Ubuntu apt - gputils-doc - 1.4.0-0.2: normalized package name match | Ubuntu 24.04 LTS package indexes: gputils-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for gputils | http://gputils.sourceforge.net
- dnf - gputils - 1.5.2-11.fc45: normalized package name match | Fedora Rawhide package metadata: gputils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development utilities for Microchip (TM) PIC (TM) microcontrollers | http://gputils.sourceforge.net
- dnf - gputils-doc - 1.5.2-11.fc45: normalized package name match | Fedora Rawhide package metadata: gputils-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Gputils documentation | http://gputils.sourceforge.net
- pacman - gputils - 1.5.2-2: normalized package name match | Arch Linux sync databases: gputils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | PIC Programming Utilities | http://gputils.sourceforge.net/
- zypper - gputils - 1.5.2-3.5: normalized package name match | openSUSE Tumbleweed package metadata: gputils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development utilities for Microchip PIC microcontrollers | http://gputils.sourceforge.net
- zypper - gputils-doc - 1.5.2-3.5: normalized package name match | openSUSE Tumbleweed package metadata: gputils-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation files for PIC MCUs | http://gputils.sourceforge.net
- MacPorts - gputils: normalized package name match | MacPorts ports tree: devel/gputils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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