# 使用 Homebrew, apt, dnf 安装 z80asm

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

## 安装

```sh
sudo av install brew:z80asm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install z80asm
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install z80asm
```

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

- dnf (92%):

```sh
sudo dnf install z80asm
```

  证据: Fedora Rawhide package metadata: z80asm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:z80asm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/z80asm>
- **版本:** 1.8
- **来源摘要:** Assembler for the Zilog Z80 microprcessor and compatibles
- **主页:** <https://www.nongnu.org/z80asm/>
- **上游文档:** <https://www.nongnu.org/z80asm/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://download.savannah.gnu.org/releases/z80asm/z80asm-1.8.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- z80asm (cli)
- z80asm (别名)

## 安装行为

- 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-08-04
- 管理器版本: 1.8
- 本地数据: OK
- 上游仓库: https://www.nongnu.org/z80asm/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

z80asm is a free assembler for the Zilog Z80 microprocessor and compatible CPUs. The official NonGNU page presents it as an ANSI C assembler that recognizes official mnemonics, most unofficial mnemonics, complex expressions, include files, conditional code, labels, and listing files.

### 项目历史

The project is hosted on GNU Savannah/NonGNU, with its homepage emphasizing a free, easy-to-expand, easy-to-use assembler whose source can be read, modified, and redistributed. That framing fits the retrocomputing and embedded-toolchain world, where developers often need transparent tools for old instruction sets.

The Savannah cgit history shows continued maintenance into 2021, including fixes around undocumented IX/IY opcode handling and bug branches. The public history is not heavily narrative, but it shows a long-lived utility maintained through the free-software hosting ecosystem rather than a vendor IDE.

### 采用历史

z80asm persists in package managers because Z80 code persists: retrocomputing, emulator projects, calculator and handheld work, hobby operating systems, embedded experiments, and ROM hacking all need a scriptable assembler.

The input facts for this run list z80asm in Homebrew, Debian, Fedora, and Ubuntu, which is the key adoption signal for a small classic-CPU assembler: it is available wherever users expect to assemble old 8-bit code on modern systems.

### 使用方式

Users write Z80 assembly, usually set an origin with org, define bytes and words with directives such as db and dw, include source or binary files, use conditionals and macros, and assemble to a binary output suitable for ROM images, emulators, or target devices.

The official usage page says command-line help documents invocation, while the web docs focus on writing assembly for this assembler. That split is typical of small Unix tools: install the command, use --help for options, and read the project pages for syntax details.

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

z80asm is significant because it keeps a 1970s CPU architecture usable from modern Unix package managers. It is a small bridge between historical hardware and contemporary reproducible builds.

It also has the classic assembler-package shape: tiny binary, no service, no credentials, little runtime state, but high value when a build pipeline needs exact bytes.

### 时间线

- 2000s: z80asm is hosted as a NonGNU/Savannah free-software project.
- 2016-05-09: Savannah cgit history shows macro-related maintenance.
- 2018-08-28: Savannah cgit history shows portability maintenance around locale headers.
- 2021-03-16: Savannah cgit history shows fixes for undocumented IX/IY opcode handling and related bugs.

### Related projects

- The Zilog Z80 CPU is the target architecture for z80asm.
- GNU Savannah/NonGNU is the hosting ecosystem for the project.
- z80dasm and similar Z80 disassemblers are adjacent tools used to round-trip or inspect Z80 binaries.

### 来源

- <https://git.savannah.nongnu.org/cgit/z80asm.git/>
- <https://www.nongnu.org/z80asm/>
- <https://www.nongnu.org/z80asm/directives.html>
- <https://www.nongnu.org/z80asm/expressions.html>
- <https://www.nongnu.org/z80asm/usage.html>


## 安全说明

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:** z80asm
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - z80asm - 1.8-2: normalized package name match | Debian stable package indexes: z80asm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | assembler for the Zilog Z80 microprocessor
- Ubuntu apt - z80asm - 1.8-2: normalized package name match | Ubuntu 24.04 LTS package indexes: z80asm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | assembler for the Zilog Z80 microprocessor
- dnf - z80asm - 1.8-31.fc45: normalized package name match | Fedora Rawhide package metadata: z80asm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Z80 Assembler | http://savannah.nongnu.org/projects/z80asm/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [nasm](https://pkg.so/zh-hans/brew/nasm/) - Shares pkgdb curated category or tags: assembler, assembly-language, cli, developer-tools.
- [binutils](https://pkg.so/zh-hans/brew/binutils/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [spirv-tools](https://pkg.so/zh-hans/brew/spirv-tools/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [yasm](https://pkg.so/zh-hans/brew/yasm/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [arm-none-eabi-binutils](https://pkg.so/zh-hans/brew/arm-none-eabi-binutils/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [aarch64-elf-binutils](https://pkg.so/zh-hans/brew/aarch64-elf-binutils/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [arm-linux-gnueabihf-binutils](https://pkg.so/zh-hans/brew/arm-linux-gnueabihf-binutils/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [x86_64-elf-binutils](https://pkg.so/zh-hans/brew/x86-64-elf-binutils/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools.
- [z80dasm](https://pkg.so/zh-hans/brew/z80dasm/) - Local package facts share a topical domain. Shared terms: cli, compatibles, developer, developer-tools, microprocessor.

## Combined YAML source

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


## 来源

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