# 使用 Homebrew, apk, apt, dnf, Nix 安装 avra

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

## 安装

```sh
sudo av install brew:avra
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install avra
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add avra
```

  证据: Alpine Linux edge package indexes: avra from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install avra
```

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

- dnf (92%):

```sh
sudo dnf install avra
```

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

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

## 软件包事实

- **软件包键:** brew:avra
- **软件包管理器:** Homebrew
- **版本:** 1.4.2
- **来源摘要:** Assembler for the Atmel AVR microcontroller family
- **主页:** <https://github.com/Ro5bert/avra>
- **仓库:** <https://github.com/Ro5bert/avra>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- avra (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

AVRA is a C99 assembler for Atmel AVR microcontrollers, intended to be mostly compatible with Atmel's AVRASM32 while remaining portable and packageable on Unix-like systems.

### 项目历史

The official README says the initial version of AVRA was written by John Anders Haugum, who released versions through 0.7. Tobias Weber later took over, followed by Burkhard Arenfeld for the 1.2 line and Jerry Jacobs for 1.3.

The changelog shows AVRA evolving from a late-1990s/early-2000s AVR assembler into a practical replacement for AVRASM32: COFF output, device definitions, macro improvements, AVRASM-compatible command-line behavior, include paths, Windows and Linux build fixes, and later regression tests.

After an eight-year inactive period following the 1.3 era, Virgil Dupras revived the project and prepared the 1.4 release. The current GitHub repository was created in 2019 and continues that revived maintenance line.

### 采用历史

AVRA's adoption follows the embedded-toolchain pattern: small C program, no daemon, useful in Makefiles, and easy to package. The batch input lists Alpine, Homebrew, Debian, Fedora, Nix, and Ubuntu packages.

Its reason to exist in package managers is compatibility. Developers with old AVR assembly projects or examples written for Atmel tooling can assemble them on Unix-like systems without installing the original Windows AVRASM32 environment.

### 使用方式

The basic command is `avra mysource.S`, producing Intel HEX output by default. AVRA also supports list, map, object/debug output, include paths, C-like conditional directives, enhanced macros, build date meta tags, and a device list.

The README frames AVRA as a drop-in-ish replacement for AVRASM32, including error-message behavior intended to work with AVR Studio-style workflows.

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

AVRA is package-manager-friendly embedded tooling: a standalone compiler-like binary that turns source into HEX files and does not require a vendor IDE.

It also represents the open-source preservation of AVR assembly workflows. Its changelog is full of small device database additions and compatibility fixes, exactly the maintenance work that keeps old microcontroller projects buildable.

### 时间线

- 1999: Version 0.4 added global labels in macros and parser fixes.
- 2000: Version 0.7 added many AVR devices, instruction support, and Intel HEX 32 output.
- 2004: Version 1.0.0 added AVRASM-compatible list/map syntax.
- 2006: Version 1.2.0 released by Burkhard Arenfeld.
- 2010: Version 1.3.0 released by Jerry Jacobs.
- 2019: Version 1.4.0 revived the project with build, macro, test, and device updates.
- 2020: Version 1.4.2 added more AVR devices and regression-test improvements.

### Related projects

- Atmel AVRASM32 is the compatibility target named by the AVRA README.
- AVR Studio is mentioned as a workflow target for AVRA error output and COFF debugging.

### 来源

- <https://github.com/Ro5bert/avra/blob/master/CHANGELOG.md>
- <https://github.com/Ro5bert/avra/blob/master/README.md>
- <https://github.com/Ro5bert/avra/blob/master/USAGE.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - avra - 1.4.2+dfsg-1: normalized package name match | Debian stable package indexes: avra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | assembler for Atmel AVR microcontrollers | https://github.com/Ro5bert/avra
- Nix - avra: normalized package name match | nixpkgs package indexes: pkgs/by-name/av/avra/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - avra - 1.4.2+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: avra from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | assembler for Atmel AVR microcontrollers | https://github.com/Ro5bert/avra
- apk - avra - 1.4.2-r0: normalized package name match | Alpine Linux edge package indexes: avra from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Assembler for the Atmel AVR microcontroller family | https://github.com/Ro5bert/avra
- apk - avra-dev - 1.4.2-r0: normalized package name match | Alpine Linux edge package indexes: avra-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Assembler for the Atmel AVR microcontroller family (development files) | https://github.com/Ro5bert/avra
- dnf - avra - 1.4.2-13.fc45: normalized package name match | Fedora Rawhide package metadata: avra from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Atmel AVR assembler | https://github.com/Ro5bert/avra


## Combined YAML source

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