# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 ascii

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

## 安装

```sh
sudo av install brew:ascii
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ascii
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ascii
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install ascii
```

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

- dnf (92%):

```sh
sudo dnf install ascii
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ascii
```

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

- pacman (92%):

```sh
sudo pacman -S ascii
```

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

- zypper (92%):

```sh
sudo zypper install ascii
```

  证据: openSUSE Tumbleweed package metadata: ascii from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:ascii
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ascii>
- **版本:** 3.32
- **来源摘要:** List ASCII idiomatic names and octal/decimal code-point forms
- **主页:** <http://www.catb.org/~esr/ascii/>
- **仓库:** <https://gitlab.com/esr/ascii>
- **上游文档:** <http://www.catb.org/~esr/ascii>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://gitlab.com/esr/ascii/-/archive/3.32/ascii-3.32.tar.bz2>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ascii (cli)
- ascii (别名)

## 构建依赖

- asciidoctor

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.32
- 本地数据: OK
- 上游仓库: http://www.catb.org/~esr/ascii/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ascii is Eric S. Raymond's compact Unix reference utility for translating among ASCII character names, byte values, numeric bases, Teletype mnemonics, ISO/ECMA code positions, XML entity names, and slang names. Called without arguments, it prints a small ASCII chart.

### 项目历史

The official NEWS file records the first release by Eric S. Raymond as version 1.0 in March 1990. Through the 1990s it accumulated ISO-style code table escapes, contributed changes, a splash-screen idea, and option changes; version 3.0 in July 2000 added HTML/SGML entity names.

The modern 3.x line continued as a maintenance-oriented C utility. The NEWS file records a 2010 license change to BSD and ANSI C cleanup, 2011 additions from Debian, a 2013 Makefile fix from MacPorts, a 2015 project metadata move away from Gitorious, 2017 binary table output, 2024 CLI flag handling updates, and 2026 hardening/packaging work.

### 采用历史

The official resource page states that the code is usually packaged as `ascii` and displays Repology package status. The input package facts show the formula is available across Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Arch, Ubuntu, and openSUSE/Zypper, reflecting the utility's long-lived role as a tiny reference program in Unix collections.

### 使用方式

Package users typically install it for fast terminal lookup: provide a character, number, escape, mnemonic, or entity name and ascii prints the corresponding representations; run it with no arguments to get a chart. Recent options can force output radix with `-d`, `-o`, `-x`, or `-b`.

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

ascii is package-nerd catnip because it is a small, old, useful command that survived several hosting eras and kept receiving portability and packaging fixes. The changelog explicitly names downstream pressure from Debian and MacPorts, and recent changes mention packager hardening flags, making it a clean example of a tiny utility shaped by distributions over decades.

### 时间线

- 1990-03: First public release, v1.0, by Eric S. Raymond.
- 1995-12: v2.0 adds ISO-style code table escapes.
- 2000-07: v3.0 adds HTML/SGML entity names.
- 2010-10: v3.10 changes license to BSD and polishes code to ANSI C.
- 2013-11: v3.13 adjusts Makefile behavior for MacPorts PREFIX convention.
- 2015-04: v3.15 updates project metadata after Gitorious decline.
- 2017-07: v3.17 adds binary code-point table output.
- 2026-03: v3.32 allows packager hardening flags and radix-forcing options.

### Related projects

- Repology tracks packaged versions across distributions, and the official page embeds its package-status badge.
- Downstream package systems named in the input include Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE.

### 来源

- <http://www.catb.org/~esr/ascii>
- <http://www.catb.org/~esr/ascii/NEWS.adoc>
- <http://www.catb.org/~esr/ascii/README.adoc>
- <http://www.catb.org/~esr/ascii/ascii.html>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ascii
- **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 - ascii - 3.18-5: normalized package name match | Debian stable package indexes: ascii from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | interactive ASCII name and synonym chart | http://www.catb.org/~esr/ascii/
- Nix - ascii: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/ascii/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ascii - 3.18-5: normalized package name match | Ubuntu 24.04 LTS package indexes: ascii from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | interactive ASCII name and synonym chart | http://www.catb.org/~esr/ascii/
- dnf - ascii - 3.32-1.fc45: normalized package name match | Fedora Rawhide package metadata: ascii from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Interactive ascii name and synonym chart | http://www.catb.org/~esr/ascii/
- pacman - ascii - 3.32-1: normalized package name match | Arch Linux sync databases: ascii from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for conversion between various byte representations and the ASCII character table | http://www.catb.org/~esr/ascii
- zypper - ascii - 3.32-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ascii from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | List ASCII idiomatic names and octal/decimal code-point form | http://www.catb.org/~esr/ascii/
- MacPorts - ascii: normalized package name match | MacPorts ports tree: textproc/ascii/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [asciidoctor](https://www.automicvault.com/zh-hans/pkg/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [ascii2binary](https://www.automicvault.com/zh-hans/pkg/brew/ascii2binary/) - Shares av.db curated category or tags: ascii, cli, developer-tools.
- [cppman](https://www.automicvault.com/zh-hans/pkg/brew/cppman/) - Shares av.db curated category or tags: cli, developer-tools, reference.
- [hexedit](https://www.automicvault.com/zh-hans/pkg/brew/hexedit/) - Shares av.db curated category or tags: ascii, cli, developer-tools.
- [uni2ascii](https://www.automicvault.com/zh-hans/pkg/brew/uni2ascii/) - Shares av.db curated category or tags: ascii, cli, developer-tools.
- [vilistextum](https://www.automicvault.com/zh-hans/pkg/brew/vilistextum/) - Shares av.db curated category or tags: ascii, cli, developer-tools.
- [howdoi](https://www.automicvault.com/zh-hans/pkg/brew/howdoi/) - Shares av.db curated category or tags: cli, developer-tools, reference.
- [morse](https://www.automicvault.com/zh-hans/pkg/brew/morse/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools.
- [astyle](https://www.automicvault.com/zh-hans/pkg/brew/astyle/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools.
- [highlight](https://www.automicvault.com/zh-hans/pkg/brew/highlight/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/ascii.yml](https://github.com/automic-vault/db/blob/main/combined/ascii.yml)


## 来源

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