# 使用 Homebrew, apt 安装 ascii2binary

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

## 安装

```sh
sudo av install brew:ascii2binary
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ascii2binary
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ascii2binary
```

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

## 软件包事实

- **软件包键:** brew:ascii2binary
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ascii2binary>
- **版本:** 2.14
- **来源摘要:** Converting Text to Binary and Back
- **主页:** <https://billposer.org/Software/a2b.html>
- **上游文档:** <http://billposer.org/Software/ascii2binary_man.html>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://www.billposer.org/Software/Downloads/ascii2binary-2.14.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ascii2binary (cli)
- binary2ascii (cli)
- ascii2binary (别名)
- binary2ascii (别名)

## 依赖

- gettext

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

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

ascii2binary is a pair of C/POSIX command-line programs, `ascii2binary` and `binary2ascii`, for converting between textual representations of numbers and raw binary values. The upstream page frames them as tools for test data generation, binary-file inspection, and glue between text-producing and binary-consuming programs.

### 项目历史

The official page documents version 2.14 as current, last modified on 2010-08-29. Its changelog starts at version 2.0, when support for long and long long integers was added, and version 2.1 added the companion `binary2ascii` command.

Later 2.x releases focused on practical conversion details: base selection, internationalization, endianness reporting, script-friendly exit codes, long double support, locale-aware thousands separators, type-size reporting, and packaging-oriented header-name cleanup.

### 采用历史

The upstream downloads section links not only tarballs but also Debian, FreeBSD FreshPorts, Open Package, OpenSolaris, SUSE RPM, and Ubuntu package pages. The input package facts show current Homebrew, Debian, and Ubuntu package-manager coverage.

### 使用方式

Users pipe whitespace-separated textual numbers into `ascii2binary` with flags selecting base and type, then pipe binary data into `binary2ascii` to inspect or reformat it. The official examples show hexadecimal-to-binary conversion, binary-to-hex/binary display, floating-point inspection, width and zero-padding controls, and locale conversion from German to American English number formatting.

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

This is a classic small Unix filter package: narrow purpose, POSIX C implementation, man pages, no credentials, no runtime config, and behavior that matters in scripts. Its fine-grained exit codes and locale/type-size options are the sort of details downstream users notice when a converter becomes part of test fixtures or data pipelines.

### 时间线

- 2007-02: Official ascii2binary man page timestamp.
- 2.0: Adds support for long and long long integers.
- 2.1: Adds binary2ascii to the package.
- 2.3: Programs become fully internationalized with a French translation.
- 2.7: Exit codes are redefined for script-friendly error classes.
- 2.11: Locale-aware numeric conversion is added.
- 2010-08: Official page lists version 2.14 as current and last modified.

### Related projects

- strtod, strtoll, and strtoull are the C library conversion functions named in the official man page.
- Downstream package links on the official page include Debian, FreeBSD FreshPorts, Open Package, OpenSolaris, SUSE RPMs, and Ubuntu.

### 来源

- <http://billposer.org/Software/Ascii2BinaryChangeLog.html>
- <http://billposer.org/Software/ascii2binary_man.html>
- <https://billposer.org/Software/a2b.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:** ascii2binary
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - ascii2binary - 2.14-1.1+b1: normalized package name match | Debian stable package indexes: ascii2binary from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert between ASCII, hexadecimal and binary representations | http://billposer.org/Software/a2b.html
- Ubuntu apt - ascii2binary - 2.14-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: ascii2binary from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert between ASCII, hexadecimal and binary representations | http://billposer.org/Software/a2b.html


## 相关链接

- [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.
- [gettext](https://www.automicvault.com/zh-hans/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [remarshal](https://www.automicvault.com/zh-hans/pkg/brew/remarshal/) - Shares av.db curated category or tags: cli, data-conversion, developer-tools.
- [dhall-toml](https://www.automicvault.com/zh-hans/pkg/brew/dhall-toml/) - Shares av.db curated category or tags: cli, data-conversion, developer-tools.
- [dhall-yaml](https://www.automicvault.com/zh-hans/pkg/brew/dhall-yaml/) - Shares av.db curated category or tags: cli, data-conversion, developer-tools.
- [hexedit](https://www.automicvault.com/zh-hans/pkg/brew/hexedit/) - Shares av.db curated category or tags: ascii, binary, cli, developer-tools.
- [json2tsv](https://www.automicvault.com/zh-hans/pkg/brew/json2tsv/) - Shares av.db curated category or tags: cli, data-conversion, developer-tools.
- [ascii](https://www.automicvault.com/zh-hans/pkg/brew/ascii/) - Shares av.db curated category or tags: ascii, cli, developer-tools.
- [base16384](https://www.automicvault.com/zh-hans/pkg/brew/base16384/) - Shares av.db curated category or tags: binary, cli, developer-tools.
- [bgrep](https://www.automicvault.com/zh-hans/pkg/brew/bgrep/) - Shares av.db curated category or tags: binary, cli, developer-tools.
- [uni2ascii](https://www.automicvault.com/zh-hans/pkg/brew/uni2ascii/) - Local package facts share a topical domain. Shared terms: ascii, cli, conversion, developer, developer-tools.

## Combined YAML source

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