# 使用 Homebrew, apt, Nix 安装 dasm

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

## 安装

```sh
sudo av install brew:dasm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dasm
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install dasm
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dasm
```

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

## 软件包事实

- **软件包键:** brew:dasm
- **软件包管理器:** Homebrew
- **版本:** 2.20.17
- **来源摘要:** Macro assembler with support for several 8-bit microprocessors
- **主页:** <https://dasm-assembler.github.io/>
- **仓库:** <https://github.com/dasm-assembler/dasm>
- **最后更新:** 2026-06-26T00:47:10Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dasm (别名)
- ftohex (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

DASM is a C macro assembler for 8-bit processors used in retrocomputing, console homebrew, and cross-assembly workflows.

### 项目历史

The official DASM site traces the assembler to Matthew Dillon in 1987-1988, followed by extensions and several maintainer eras through the 1990s and 2000s. The project moved its source and releases to GitHub in 2019.

### 采用历史

DASM's long life comes from its support for processors and machines that matter to 8-bit development, including MOS 6502 and 6507 systems, Motorola-family chips, Hitachi HD6303, and Fairchild F8. The official downloads include Linux, macOS, Windows, and Raspberry Pi OS binaries.

### 使用方式

It is used as a command-line cross-assembler, with included console-specific headers and common macros for systems such as the Atari 2600, Atari 7800, and Fairchild Channel F.

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

For package history, DASM is the rare tool where modern package managers carry a living utility from late-1980s assembly culture into current retrocomputing and homebrew-console build chains.

### 时间线

- 1987-1988: Matthew Dillon started DASM.
- 1995: Olaf Seibert extended DASM.
- 2003-2008: Andrew Davie maintained DASM.
- 2008-2015: Peter Frohlich maintained DASM.
- 2019: Source code and releases moved to GitHub.
- 2026: v2.20.17 was published on GitHub.

### Related projects

- DASM is commonly associated with 8-bit targets such as Atari 2600, Atari 7800, and Fairchild Channel F development.

### 来源

- <https://dasm-assembler.github.io/>
- <https://github.com/dasm-assembler/dasm>
- <https://github.com/dasm-assembler/dasm/releases/tag/v2.20.17>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - dasm - 2.20.15~20201109+really2.20.14.1-2: normalized package name match | Debian stable package indexes: dasm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Macro assembler with support for several 8-bit microprocessors | https://dasm-assembler.github.io/
- Nix - dasm: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dasm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dasm - 2.20.15~20201109+really2.20.14.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: dasm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Macro assembler with support for several 8-bit microprocessors | https://dasm-assembler.github.io/


## Combined YAML source

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