Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 enscript

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install enscript

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install enscript

MacPorts ports tree · print/enscript/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add enscript

Alpine Linux edge package indexes · enscript · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install enscript

Debian stable package indexes · enscript · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install enscript

Fedora Rawhide package metadata · enscript · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#enscript

nixpkgs package indexes · pkgs/by-name/en/enscript/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S enscript

Arch Linux sync databases · enscript · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install enscript

openSUSE Tumbleweed package metadata · enscript · 来源: download.opensuse.org

概览

软件包摘要

Convert text to Postscript, HTML, or RTF, with syntax highlighting

命令和别名

  • diffpp
  • enscript
  • mkafmmap
  • over
  • sliceprint
  • states

历史

项目历史与用法

GNU Enscript is a GNU command-line program for converting text files to PostScript, and in later versions also to formats such as HTML and RTF, with layout control and language-sensitive highlighting.

项目历史

The official README calls GNU Enscript a drop-in replacement for the older enscript program and describes its core job as converting ASCII files to PostScript for files or printers. The AUTHORS file credits Markku Rossi as the author of GNU Enscript.

The GNU FTP archive shows public GNU Enscript tarballs at least as far back as version 1.4.0 in 1996, followed by 1.5.0 in 1997, 1.6.0 in 1998, and later 1.6.x maintenance releases. The NEWS file documents major 1.6-era work around syntax highlighting, output options, encodings, and later security and maintenance fixes.

采用历史

Enscript became a familiar Unix packaging item because it filled a durable text-to-PostScript workflow for terminals, print queues, source listings, and documentation. The input metadata lists it across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE.

使用方式

Users invoke `enscript` to format plain text or source code for printing or generated output. Official documentation describes global and personal configuration through `enscript.cfg`, `enscriptsite.cfg`, and `$HOME/.enscriptrc`, plus helper commands such as `mkafmmap` and language-sensitive highlighting through the `states` program.

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

GNU Enscript is a package-nerd staple because it sits at the intersection of classic Unix printing, PostScript, source-code pretty-printing, font metrics, locale encodings, and GNU release infrastructure. It is small by modern standards but touches many old-school system integration points.

时间线

  • 1996: GNU FTP archive lists enscript 1.4.0 tarball.
  • 1998: GNU FTP archive lists enscript 1.6.0 and 1.6.1 tarballs.
  • 2010: NEWS for 1.6.5 notes a new maintainer, GPLv3-or-later licensing, build fixes, security fixes, and syntax-highlighting fixes.
  • 2012: NEWS for 1.6.6 notes Translation Project updates, Debian sliceprint patch integration, and option/documentation fixes.
  • 2026: ChangeLog records release 1.7.0.

Related projects

  • The project belongs to the GNU tool family and is related operationally to PostScript interpreters, Unix print spoolers such as lpr and lp, and source-code highlighters used in printing workflows.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.enscriptrc$prefix/etc/enscriptsite.cfg$prefix/etc/enscript.cfg

可执行文件

已安装的可执行文件

命令类型暴露范围备注
diffppcli全局可执行文件
enscriptcli全局可执行文件
mkafmmapcli全局可执行文件
overcli全局可执行文件
sliceprintcli全局可执行文件
statescli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.6.6
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/enscript/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/enscript/none 置信度

安装元数据

软件包元数据

软件包键brew:enscript
版本1.6.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/enscript
主页https://www.gnu.org/software/enscript/
仓库https://git.savannah.gnu.org/git/enscript.git
上游文档https://www.gnu.org/software/enscript
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz
依赖gettext
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameenscript
Version Scheme0
Revision1
Head VersionHEAD
Conflicts With
  • cspice
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

enscript 1.6.5.90-3.1+b1

converts text to Postscript, HTML or RTF with syntax highlighting

http://www.gnu.org/software/enscript/

sudo apt install enscript
  • Section: text
  • Architecture: amd64
  • Source Package: enscript
  • 3 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Enscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: enscript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

enscript

nix profile install nixpkgs#enscript
  • normalized package name match
  • 匹配方式:Enscript
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/en/enscript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

enscript 1.6.5.90-3.1

converts text to Postscript, HTML or RTF with syntax highlighting

http://www.gnu.org/software/enscript/

sudo apt install enscript
  • Section: universe/text
  • Architecture: amd64
  • 3 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Enscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: enscript from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

enscript 1.6.6-r7

GNU Enscript converts ASCII files to PostScript, HTML, or RTF

https://www.gnu.org/software/enscript/

sudo apk add enscript
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: enscript
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Enscript
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: enscript from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

enscript-doc 1.6.6-r7

GNU Enscript converts ASCII files to PostScript, HTML, or RTF (documentation)

https://www.gnu.org/software/enscript/

sudo apk add enscript-doc
  • License: GPL-3.0-only
  • Architecture: x86_64
  • Source Package: enscript
  • normalized package name match
  • 匹配方式:Enscript
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: enscript-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

enscript 1.6.6-38.fc44

A plain ASCII to PostScript converter

http://www.gnu.org/software/enscript

sudo dnf install enscript
  • License: LGPL-2.0-or-later AND GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: enscript
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Enscript
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: enscript from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

enscript 1.6.6-6

Convert ASCII files to PostScript suitable for printing

https://git.savannah.gnu.org/cgit/enscript.git

sudo pacman -S enscript
  • License: GPL3
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Enscript
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: enscript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

enscript 1.6.6-4.3

An ASCII to PostScript(tm) Converter

http://git.savannah.gnu.org/cgit/enscript.git

sudo zypper install enscript
  • License: GPL-3.0-or-later
  • Category: Productivity/Publishing/PS
  • Architecture: x86_64
  • Source Package: enscript
  • 10 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Enscript
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: enscript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

enscript

sudo port install enscript
  • normalized package name match
  • 匹配方式:Enscript
MacPorts ports tree · api.github.com · MacPorts ports tree: print/enscript/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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