macOS
brew install a2pslocal Homebrew formula metadata
sudo port install a2psMacPorts ports tree · print/a2ps/Portfile · 来源: api.github.com
安装
brew install a2pslocal Homebrew formula metadata
sudo port install a2psMacPorts ports tree · print/a2ps/Portfile · 来源: api.github.com
sudo apk add a2psAlpine Linux edge package indexes · a2ps · 来源: dl-cdn.alpinelinux.org
sudo dnf install a2psFedora Rawhide package metadata · a2ps · 来源: dl.fedoraproject.org
nix profile install nixpkgs#a2psnixpkgs package indexes · pkgs/by-name/a2/a2ps/package.nix · 来源: api.github.com
sudo pacman -S a2psArch Linux sync databases · a2ps · 来源: geo.mirror.pkgbuild.com
sudo zypper install a2psopenSUSE Tumbleweed package metadata · a2ps · 来源: download.opensuse.org
概览
Any-to-PostScript filter
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
a2ps | cli | 全局可执行文件 | |
a2ps-lpr-wrapper | cli | 全局可执行文件 | |
card | cli | 全局可执行文件 | |
composeglyphs | cli | 全局可执行文件 | |
fixps | cli | 全局可执行文件 | |
lp2 | cli | 全局可执行文件 | |
ogonkify | cli | 全局可执行文件 | |
pdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/a2ps/
安装元数据
| 软件包键 | brew:a2ps |
|---|---|
| 版本 | 4.15.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/a2ps |
| 主页 | https://www.gnu.org/software/a2ps/ |
| 仓库 | https://git.savannah.gnu.org/git/a2ps.git |
| 上游文档 | https://www.gnu.org/software/a2ps |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/a2ps/a2ps-4.15.8.tar.gz |
| 最后更新 | 2026-05-26T23:37:44-04:00 |
| Pulse | updated |
| 依赖 | bdw-gc, libpaper |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | a2ps |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
a2ps 1:4.15.6-1+b1
GNU a2ps - 'Anything to PostScript' converter and pretty-printer
https://www.gnu.org/software/a2ps/
sudo apt install a2psa2ps
nix profile install nixpkgs#a2psa2ps 1:4.15.5-2
GNU a2ps - 'Anything to PostScript' converter and pretty-printer
https://www.gnu.org/software/a2ps/
sudo apt install a2psa2ps 4.15.7-r0
a2ps is an Any to PostScript filter
https://www.gnu.org/software/a2ps/
sudo apk add a2psa2ps-doc 4.15.7-r0
a2ps is an Any to PostScript filter (documentation)
https://www.gnu.org/software/a2ps/
sudo apk add a2ps-doca2ps-emacs 4.15.7-r0
a2ps is an Any to PostScript filter (emacs plugin)
https://www.gnu.org/software/a2ps/
sudo apk add a2ps-emacsa2ps 4.15.8-3.fc44
Converts text and other types of files to PostScript
http://www.gnu.org/software/a2ps/
sudo dnf install a2psa2ps 4.15.8-1
An Any to PostScript filter
https://www.gnu.org/software/a2ps
sudo pacman -S a2psa2ps 4.15.6-2.4
Tool to convert ASCII/Latin Text into PostScript
https://www.gnu.org/software/a2ps/a2ps.html
sudo zypper install a2psa2ps-devel 4.15.6-2.4
Library and header file for the interface of a2ps
https://www.gnu.org/software/a2ps/a2ps.html
sudo zypper install a2ps-devela2ps-lang 4.15.6-2.4
Translations for package a2ps
https://www.gnu.org/software/a2ps/a2ps.html
sudo zypper install a2ps-langliba2ps1 4.15.6-2.4
Library to convert ASCII/Latin text into PostScript
https://www.gnu.org/software/a2ps/a2ps.html
sudo zypper install liba2ps1a2ps
sudo port install a2ps来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.