# xa を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt でインストール

xa のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xa
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xa
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xa
```

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

### Linux

- apk (92%):

```sh
sudo apk add xa
```

  証拠: Alpine Linux edge package indexes: xa from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install xa
```

  証拠: Fedora Rawhide package metadata: xa 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#xa
```

  証拠: nixpkgs package indexes: pkgs/by-name/xa/xa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S xa
```

  証拠: Arch Linux sync databases: xa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install xa
```

  証拠: openSUSE Tumbleweed package metadata: xa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install xa65
```

  証拠: Debian stable package indexes: xa65 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:xa
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.4.1
- **ソース概要:** 6502 cross assembler
- **ホームページ:** <https://www.floodgap.com/retrotech/xa/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- file65 (エイリアス)
- ldo65 (エイリアス)
- printcbm (エイリアス)
- reloc65 (エイリアス)
- uncpk (エイリアス)
- xa (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.4.1
## プロジェクトの歴史と使われ方

xa, also known as xa65, is a 6502-family cross-assembler for Unix-like systems. It targets classic 6502-series processors, the Rockwell R65C02, and the 65816, and ships with companion tools for o65 objects and related 6502 development workflows.

Its appeal is old-school and practical: xa is small, portable, fast, and oriented toward cross-assembling retro-computing code on modern machines rather than assembling directly on a Commodore, Apple, Atari, or other 8-bit target.

### プロジェクトの歴史

The original xa package is credited to Andre Fachat for 1989-1997. Later changes are credited to Fachat, Jolse Maginnis, David Weinehall, and Cameron Kaiser, with Kaiser listed as the official maintainer in current manual pages.

Fachat's public mirror describes xa65 as originally authored by him and currently maintained by Cameron Kaiser at Floodgap. The repository also notes that xa65 runs on Unix and Unix-alikes, produces 6502 and 65816 code, and comes with a set of tools.

### 採用の歴史

xa survived because the 6502 ecosystem stayed alive: Commodore 64, Apple II, Atari 8-bit, NES-adjacent, 65C02, and 65816 programmers kept needing a dependable cross-assembler on contemporary Unix-like systems. The manual's own 'Over 30 Years of Xa' note captures its unusual longevity.

The tool is distributed by multiple Unix-like package systems and is referenced in retro-computing circles because it is simple enough for small projects but has features expected by serious 8-bit work: segments, labels, listings, conditional assembly, a C-like preprocessor, o65 relocatable output, and companion tools such as ldo65 and reloc65.

### 使われ方

Users write 6502-family assembly on a modern host, select options for CMOS 65C02 or 65816 opcodes, define include paths and macros, and emit either sequential binaries or o65 relocatable objects. The tool can also produce listings and label files for later inspection or disassembly.

xa is commonly used where exact addresses and binary layout matter: ROMs, monitor programs, demos, small operating systems, bootstraps, and retro-computing utilities. Its linking section documents both o65 object workflows through ldo65 and direct binary composition with explicit padding.

### パッケージ好きにとっての重要性

xa is one of those packages that signals a living retro toolchain rather than nostalgia alone. It is not a generic assembler; it is a long-maintained 6502 cross-assembler with enough compatibility switches and object tooling to fit real historical codebases.

### タイムライン

- 1989-1997: Original xa package by Andre Fachat.
- 2000s: Continued maintenance adds portability and package-system visibility.
- 2024: Current manual pages credit additional changes through 2024 and identify Cameron Kaiser as official maintainer.
- 2020s: xa remains packaged and used for 6502, R65C02, and 65816 cross-development.

### Related projects

- cc65 is another prominent 6502 development suite, with ca65 as its assembler.
- o65, ldo65, file65, and reloc65 form xa's relocatable-object side ecosystem.
- dxa is a related disassembler referenced by the xa manual.

### ソース

- <https://6502.org/users/andre/misc/>
- <https://github.com/fachat/xa65>
- <https://github.com/fachat/xa65/blob/master/xa/README.1st>
- <https://www.mankier.com/1/xa>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - xa65 - 2.4.1-0.1: normalized package name match | Debian stable package indexes: xa65 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cross-assembler and utility suite for 65xx/65816 processors | https://www.floodgap.com/retrotech/xa/
- Nix - xa: normalized package name match | nixpkgs package indexes: pkgs/by-name/xa/xa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xa65 - 2.4.0-0.1: normalized package name match | Ubuntu 24.04 LTS package indexes: xa65 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cross-assembler and utility suite for 65xx/65816 processors | https://www.floodgap.com/retrotech/xa/
- apk - xa - 2.4.1-r0: normalized package name match | Alpine Linux edge package indexes: xa from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | cross-assembler and utility suite for 65xx/65816 processors | https://www.floodgap.com/retrotech/xa
- apk - xa-doc - 2.4.1-r0: normalized package name match | Alpine Linux edge package indexes: xa-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | cross-assembler and utility suite for 65xx/65816 processors (documentation) | https://www.floodgap.com/retrotech/xa
- dnf - xa - 2.4.1-6.fc45: normalized package name match | Fedora Rawhide package metadata: xa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | 6502/65816 cross-assembler | http://www.floodgap.com/retrotech/xa/
- pacman - xa - 2.4.1-2: normalized package name match | Arch Linux sync databases: xa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cross-assembler for the 6502 microprocessor | https://www.floodgap.com/retrotech/xa
- zypper - xa - 2.4.1-1.6: normalized package name match | openSUSE Tumbleweed package metadata: xa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | High-speed, two-pass portable 6502 cross-assembler | https://www.floodgap.com/retrotech/xa/
- MacPorts - xa: normalized package name match | MacPorts ports tree: devel/xa/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/xa.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xa.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
