# Installer a2ps avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de a2ps pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install a2ps
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install a2ps
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:a2ps
- **Gestionnaire de paquets:** Homebrew
- **Version:** 4.15.8
- **Résumé source:** Any-to-PostScript filter
- **Page d'accueil:** <https://www.gnu.org/software/a2ps/>
- **Dernière mise à jour:** 2026-05-26T23:37:44-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- a2ps (alias)
- a2ps-lpr-wrapper (alias)
- card (alias)
- composeglyphs (alias)
- fixps (alias)
- lp2 (alias)
- ogonkify (alias)
- pdiff (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 4.15.8
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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)


## Sources

- 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
