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

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

## インストール

```sh
sudo av install brew:enscript
```

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

### macOS

- Homebrew (100%):

```sh
brew install enscript
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install enscript
```

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

### Linux

- apk (92%):

```sh
sudo apk add enscript
```

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

- Debian apt (92%):

```sh
sudo apt install enscript
```

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

- dnf (92%):

```sh
sudo dnf install enscript
```

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

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

- pacman (92%):

```sh
sudo pacman -S enscript
```

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

- zypper (92%):

```sh
sudo zypper install enscript
```

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

## パッケージ情報

- **パッケージキー:** brew:enscript
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.6.6
- **ソース概要:** Convert text to Postscript, HTML, or RTF, with syntax highlighting
- **ホームページ:** <https://www.gnu.org/software/enscript/>
- **最終更新:** 2026-08-02T15:56:46+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- diffpp (エイリアス)
- enscript (エイリアス)
- mkafmmap (エイリアス)
- over (エイリアス)
- sliceprint (エイリアス)
- states (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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.

### ソース

- <https://www.gnu.org/software/enscript>
- <https://git.savannah.gnu.org/cgit/enscript.git>
- <https://git.savannah.gnu.org/cgit/enscript.git/plain/README>
- <https://git.savannah.gnu.org/cgit/enscript.git/plain/NEWS>
- <https://git.savannah.gnu.org/cgit/enscript.git/plain/AUTHORS>
- <https://ftp.gnu.org/gnu/enscript/>


## セキュリティノート

narrow executable package without higher-risk signals.

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


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

- Unix: ~/.enscriptrc, $prefix/etc/enscriptsite.cfg, $prefix/etc/enscript.cfg
## 他のパッケージマネージャ記録

- Debian apt - enscript - 1.6.5.90-3.1+b1: normalized package name match | Debian stable package indexes: enscript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | converts text to Postscript, HTML or RTF with syntax highlighting | http://www.gnu.org/software/enscript/
- Nix - enscript: normalized package name match | nixpkgs package indexes: pkgs/by-name/en/enscript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - enscript - 1.6.5.90-3.1: normalized package name match | Ubuntu 24.04 LTS package indexes: enscript from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | converts text to Postscript, HTML or RTF with syntax highlighting | http://www.gnu.org/software/enscript/
- apk - enscript - 1.6.6-r7: normalized package name match | Alpine Linux edge package indexes: enscript from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GNU Enscript converts ASCII files to PostScript, HTML, or RTF | https://www.gnu.org/software/enscript/
- apk - enscript-doc - 1.6.6-r7: normalized package name match | Alpine Linux edge package indexes: enscript-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GNU Enscript converts ASCII files to PostScript, HTML, or RTF (documentation) | https://www.gnu.org/software/enscript/
- dnf - enscript - 1.6.6-39.fc45: normalized package name match | Fedora Rawhide package metadata: enscript from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A plain ASCII to PostScript converter | http://www.gnu.org/software/enscript
- pacman - enscript - 1.6.6-6: normalized package name match | Arch Linux sync databases: enscript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Convert ASCII files to PostScript suitable for printing | https://git.savannah.gnu.org/cgit/enscript.git
- zypper - enscript - 1.6.6-4.5: normalized package name match | openSUSE Tumbleweed package metadata: enscript from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An ASCII to PostScript(tm) Converter | http://git.savannah.gnu.org/cgit/enscript.git
- MacPorts - enscript: normalized package name match | MacPorts ports tree: print/enscript/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/enscript.yml](https://github.com/mxcl/pkgdb/blob/main/combined/enscript.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
