Automic VaultAutomic Vault

brew

Install xa with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

6502 cross assembler. Version 2.4.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xa

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xa

MacPorts ports tree · devel/xa/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xa

Alpine Linux edge package indexes · xa · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install xa65

Debian stable package indexes · xa65 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install xa

Fedora Rawhide package metadata · xa · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xa

nixpkgs package indexes · pkgs/by-name/xa/xa/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S xa

Arch Linux sync databases · xa · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install xa

openSUSE Tumbleweed package metadata · xa · source: download.opensuse.org

overview

Package summary

6502 cross assembler

Commands and aliases

  • file65
  • ldo65
  • printcbm
  • reloc65
  • uncpk
  • xa

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
file65cliglobal executable
ldo65cliglobal executable
printcbmcliglobal executable
reloc65cliglobal executable
uncpkcliglobal executable
xacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.4.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.floodgap.com/retrotech/xa/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.floodgap.com/retrotech/xa/none confidence

install metadata

Package metadata

Package keybrew:xa
Version2.4.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xa
Homepagehttps://www.floodgap.com/retrotech/xa/
Repositoryhttps://github.com/fachat/xa65
Upstream docshttps://www.floodgap.com/retrotech/xa
LicenseGPL-2.0-or-later
Source archivehttps://www.floodgap.com/retrotech/xa/dists/xa-2.4.1.tar.gz
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexa
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

xa65 2.4.1-0.1

cross-assembler and utility suite for 65xx/65816 processors

https://www.floodgap.com/retrotech/xa/

sudo apt install xa65
  • Section: devel
  • Architecture: amd64
  • Source Package: xa
  • 1 dependencies
  • normalized package name match
  • Matched by: Xa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xa65 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xa

nix profile install nixpkgs#xa
  • normalized package name match
  • Matched by: Xa
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xa/xa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xa65 2.4.0-0.1

cross-assembler and utility suite for 65xx/65816 processors

https://www.floodgap.com/retrotech/xa/

sudo apt install xa65
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: xa
  • 1 dependencies
  • normalized package name match
  • Matched by: Xa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xa65 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xa 2.4.1-r0

cross-assembler and utility suite for 65xx/65816 processors

https://www.floodgap.com/retrotech/xa

sudo apk add xa
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: xa
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xa from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

xa-doc 2.4.1-r0

cross-assembler and utility suite for 65xx/65816 processors (documentation)

https://www.floodgap.com/retrotech/xa

sudo apk add xa-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: xa
  • normalized package name match
  • Matched by: Xa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xa-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

xa 2.4.1-5.fc44

6502/65816 cross-assembler

http://www.floodgap.com/retrotech/xa/

sudo dnf install xa
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xa
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

xa 2.4.1-2

Cross-assembler for the 6502 microprocessor

https://www.floodgap.com/retrotech/xa

sudo pacman -S xa
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Xa
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

xa 2.4.1-1.4

High-speed, two-pass portable 6502 cross-assembler

https://www.floodgap.com/retrotech/xa/

sudo zypper install xa
  • License: GPL-2.0-or-later
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: xa
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xa

sudo port install xa
  • normalized package name match
  • Matched by: Xa
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/xa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/xa.yml

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment