# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 angband

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

## 安装

```sh
sudo av install brew:angband
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install angband
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install angband
```

  证据: MacPorts ports tree: games/angband/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add angband
```

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

- Debian apt (92%):

```sh
sudo apt install angband
```

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

- dnf (92%):

```sh
sudo dnf install angband
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#angband
```

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

- pacman (92%):

```sh
sudo pacman -S angband
```

  证据: Arch Linux sync databases: angband from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:angband
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/angband>
- **版本:** 4.2.6
- **来源摘要:** Dungeon exploration game
- **主页:** <https://rephial.org/>
- **仓库:** <https://github.com/angband/angband>
- **上游文档:** <https://rephial.org/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/angband/angband/releases/download/4.2.6/Angband-4.2.6.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- angband (cli)
- angband (别名)

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.2.6
- 本地数据: OK
- 上游仓库: https://github.com/angband/angband
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Angband is one of the long-lived canonical roguelikes: a Tolkien-themed dungeon exploration game descended from Moria and maintained for decades by volunteers. As a package, it matters because it is both a playable terminal-era game and a living specimen of portable C game history.

### 项目历史

The official version document traces Angband's lineage from VMS Moria by Robert Alan Koeneke in 1985 to Umoria by James E. Wilson in 1989. Angband 1.0 was created in 1990 by Alex Cutler and Andy Astrand at the University of Warwick, based on Umoria 5.2.1 and expanded with more Tolkien-derived monsters, unique monsters, artifacts, and dungeon features.

Maintenance passed through several eras. Charles Swiger cleaned up and released versions in the 2.5 and 2.6 series in 1993 and 1994. Ben Harrison took over at the beginning of 1995 with Angband 2.7.0, carrying out a major cleanup that made ports easier and helped the game spread across Unix, Macintosh, X11, IBM, OS/2, Windows, Amiga, and Linux systems.

Robert Ruehlmann took over around 2000 after the 2.8 series, incorporating popular patches and continuing the 2.9 line. The modern 4.x series keeps the classic roguelike structure while adding quality-of-life work, build-system updates, new front ends, tests, and balance changes.

### 采用历史

Angband spread through FTP archives, platform ports, and the roguelike community before GitHub-era distribution. The official history notes how key portability work and front ends helped releases reach many operating systems, which is why Angband is still packaged by Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, and Alpine.

The game also became a base for variants. The official version document explicitly notes that Ben Harrison's cleaner code gave other developers room to build many Angband variants, an important part of roguelike culture and of why the package remains recognizable to package maintainers.

### 使用方式

Users run `angband` to play a dungeon crawler rendered with textual characters or optional graphical tiles. The official manual documents customization through options, keymaps, visuals, colors, inscriptions, subwindows, and user pref files.

Package users often care about terminal compatibility, save-file handling, user preference directories, and whether a package builds the desired front ends. The official customization docs list user pref locations for Linux, macOS, and Windows, matching the paths package metadata needs to preserve.

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

Angband is the sort of package that exposes a distribution's opinions about games, terminal UI, save paths, data files, optional graphics, and legacy portability. It is old enough to carry pre-Git history, yet active enough to keep receiving releases and build-system maintenance.

For package nerds, it is also a reminder that a package can be culturally important without being infrastructure: Angband packages preserve a playable lineage from Moria, Rogue-like terminal games, FTP-era source sharing, and modern reproducible builds.

### 时间线

- 1985: VMS Moria by Robert Alan Koeneke precedes Angband.
- 1989: Umoria brings Moria to Unix.
- 1990: Angband 1.0 is created at the University of Warwick from Umoria 5.2.1.
- 1995: Ben Harrison publishes Angband 2.7.0 and becomes maintainer.
- 2000: Robert Ruehlmann takes over maintenance around the 2.9 series.
- 2020s: Angband 4.x continues with active bug fixes, front-end work, and gameplay updates.

### Related projects

- Moria and Umoria are the direct ancestors named by the official history.
- NetHack and Rogue are related roguelike reference points named by Angband's README.
- Angband variants form a large related ecosystem built from the portable Angband code base.

### 来源

- <https://raw.githubusercontent.com/angband/angband/master/README.md>
- <https://raw.githubusercontent.com/angband/angband/master/changes.txt>
- <https://raw.githubusercontent.com/angband/angband/master/docs/customize.rst>
- <https://raw.githubusercontent.com/angband/angband/master/docs/version.rst>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.angband/Angband
- macOS: Documents/Angband/
- Windows: lib/user/
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** angband
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - angband - 1:4.2.5+dfsg1-3: normalized package name match | Debian stable package indexes: angband from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Single-player, text-based, dungeon simulation game | https://rephial.org
- Debian apt - angband-data - 1:4.2.5+dfsg1-3: normalized package name match | Debian stable package indexes: angband-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Game data for angband | https://rephial.org
- Nix - angband: normalized package name match | nixpkgs package indexes: pkgs/by-name/an/angband/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - angband - 1:4.2.5+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: angband from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Single-player, text-based, dungeon simulation game | https://rephial.org
- Ubuntu apt - angband-data - 1:4.2.5+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: angband-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Game data for angband | https://rephial.org
- apk - angband - 4.2.5-r0: normalized package name match | Alpine Linux edge package indexes: angband from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Roguelike computer role playing game | https://rephial.org
- dnf - angband - 4.2.6-2.fc45: normalized package name match | Fedora Rawhide package metadata: angband from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Popular roguelike role playing game | https://rephial.org/
- dnf - angband-data - 4.2.6-2.fc45: normalized package name match | Fedora Rawhide package metadata: angband-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Angband data files | https://rephial.org/
- dnf - angband-doc - 4.2.6-2.fc45: normalized package name match | Fedora Rawhide package metadata: angband-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Angband doc files | https://rephial.org/
- pacman - angband - 4.2.6-1: normalized package name match | Arch Linux sync databases: angband from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A roguelike dungeon exploration game based on the writings of JRR Tolkien | https://rephial.org/
- MacPorts - angband: normalized package name match | MacPorts ports tree: games/angband/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://pkg.so/zh-hans/game-emulation-tools/) - Matched game or emulation metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [nethack](https://pkg.so/zh-hans/brew/nethack/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [brogue](https://pkg.so/zh-hans/brew/brogue/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [rogue](https://pkg.so/zh-hans/brew/rogue/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [allureofthestars](https://pkg.so/zh-hans/brew/allureofthestars/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [slashem](https://pkg.so/zh-hans/brew/slashem/) - Shares pkgdb curated category or tags: cli, games, roguelike.
- [cataclysm](https://pkg.so/zh-hans/brew/cataclysm/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [unnethack](https://pkg.so/zh-hans/brew/unnethack/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.
- [jnethack](https://pkg.so/zh-hans/brew/jnethack/) - Shares pkgdb curated category or tags: cli, game, games, roguelike.

## Combined YAML source

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


## 来源

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