# a2ps を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

a2ps のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:a2ps
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install a2ps
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install a2ps
```

  証拠: MacPorts ports tree: print/a2ps/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add a2ps
```

  証拠: Alpine Linux edge package indexes: a2ps from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install a2ps
```

  証拠: Debian stable package indexes: a2ps from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install a2ps
```

  証拠: Fedora Rawhide package metadata: a2ps 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#a2ps
```

  証拠: nixpkgs package indexes: pkgs/by-name/a2/a2ps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S a2ps
```

  証拠: Arch Linux sync databases: a2ps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install a2ps
```

  証拠: openSUSE Tumbleweed package metadata: a2ps from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:a2ps
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.15.8
- **ソース概要:** Any-to-PostScript filter
- **ホームページ:** <https://www.gnu.org/software/a2ps/>
- **最終更新:** 2026-05-26T23:37:44-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- a2ps (エイリアス)
- a2ps-lpr-wrapper (エイリアス)
- card (エイリアス)
- composeglyphs (エイリアス)
- fixps (エイリアス)
- lp2 (エイリアス)
- ogonkify (エイリアス)
- pdiff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.15.8
## プロジェクトの歴史と使われ方

GNU a2ps is an Any-to-PostScript filter and pretty-printer: it turns text and many source formats into PostScript, with page layout, headers, style sheets, delegations to other tools, and printer-oriented output.

### プロジェクトの歴史

The project became a GNU package for command-line printing workflows where PostScript was the common interchange format. Its README describes the tool as highly configurable while still aiming to let novice users perform complex PostScript manipulations.

After long maintenance gaps, release 4.14 in 2007 moved the package to GPLv3-or-later and modernized the build. A new maintenance cycle began in 2022, leading to the 4.15 stable release in 2023 with Reuben Thomas as maintainer, updated autotools/gnulib infrastructure, libpaper integration, CUPS-oriented lpr wrapper support, and security fixes.

### 採用の歴史

a2ps became a familiar Unix packaging staple because it filled the practical gap between plain text, source code, and printer-ready PostScript. The input package data lists it across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE, which matches its long-lived role as a small command-line printing utility.

### 使われ方

Users run a2ps to format files for printing or previewing, especially source files that benefit from syntax-aware pretty-printing. Related tools in the package, such as fixps, card, pdiff, lp2, ogonkify, and composeglyphs, reflect the broader PostScript-cleanup and print-preparation workflow around it.

### パッケージ好きにとっての重要性

Package nerds care about a2ps because it is the kind of GNU utility that exposes decades of Unix printing assumptions: PostScript pipelines, libpaper defaults, printer wrappers, generated documentation, legacy encodings, and security-sensitive parsers all in one small package.

### タイムライン

- 2007: GNU a2ps 4.14 ships as a maintenance release, moves to GPLv3-or-later, and updates build tooling.
- 2022: Alpha releases restart active maintenance with a new maintainer and modernized build system.
- 2023: GNU a2ps 4.15 ships as a stable release with CUPS-oriented printing support, libpaper integration, and security fixes.
- 2025: GNU a2ps 4.15.8 ships with bug fixes and build/documentation updates.

### Related projects

- a2ps delegates work to tools such as Ghostscript, groff, dvips, gzip, psutils, and libpaper, making it part of the classic Unix document-conversion and printing pipeline.

### ソース

- <https://git.savannah.gnu.org/cgit/a2ps.git/plain/NEWS>
- <https://git.savannah.gnu.org/cgit/a2ps.git/plain/README>
- <https://savannah.gnu.org/projects/a2ps>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - a2ps - 1:4.15.6-1+b1: normalized package name match | Debian stable package indexes: a2ps from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU a2ps - 'Anything to PostScript' converter and pretty-printer | https://www.gnu.org/software/a2ps/
- Nix - a2ps: normalized package name match | nixpkgs package indexes: pkgs/by-name/a2/a2ps/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - a2ps - 1:4.15.5-2: normalized package name match | Ubuntu 24.04 LTS package indexes: a2ps from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU a2ps - 'Anything to PostScript' converter and pretty-printer | https://www.gnu.org/software/a2ps/
- apk - a2ps - 4.15.7-r0: normalized package name match | Alpine Linux edge package indexes: a2ps from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a2ps is an Any to PostScript filter | https://www.gnu.org/software/a2ps/
- apk - a2ps-doc - 4.15.7-r0: normalized package name match | Alpine Linux edge package indexes: a2ps-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a2ps is an Any to PostScript filter (documentation) | https://www.gnu.org/software/a2ps/
- apk - a2ps-emacs - 4.15.7-r0: normalized package name match | Alpine Linux edge package indexes: a2ps-emacs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a2ps is an Any to PostScript filter (emacs plugin) | https://www.gnu.org/software/a2ps/
- dnf - a2ps - 4.15.8-5.fc45: normalized package name match | Fedora Rawhide package metadata: a2ps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Converts text and other types of files to PostScript | http://www.gnu.org/software/a2ps/
- pacman - a2ps - 4.15.8-1: normalized package name match | Arch Linux sync databases: a2ps from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An Any to PostScript filter | https://www.gnu.org/software/a2ps
- zypper - a2ps - 4.15.6-2.6: normalized package name match | openSUSE Tumbleweed package metadata: a2ps from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool to convert ASCII/Latin Text into PostScript | https://www.gnu.org/software/a2ps/a2ps.html
- zypper - a2ps-devel - 4.15.6-2.6: normalized package name match | openSUSE Tumbleweed package metadata: a2ps-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library and header file for the interface of a2ps | https://www.gnu.org/software/a2ps/a2ps.html
- zypper - a2ps-lang - 4.15.6-2.6: normalized package name match | openSUSE Tumbleweed package metadata: a2ps-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package a2ps | https://www.gnu.org/software/a2ps/a2ps.html
- zypper - liba2ps1 - 4.15.6-2.6: normalized package name match | openSUSE Tumbleweed package metadata: liba2ps1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library to convert ASCII/Latin text into PostScript | https://www.gnu.org/software/a2ps/a2ps.html
- MacPorts - a2ps: normalized package name match | MacPorts ports tree: print/a2ps/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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