Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, chocolatey, scoop 安装 ghostscript

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ghostscript

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ghostscript

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

Linux

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

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

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

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

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

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

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

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

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

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

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

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

Windows

Chocolatey已验证 · 92%
choco install Ghostscript

Chocolatey community package catalog · Ghostscript · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/ghostscript

Scoop official bucket manifest trees · bucket/ghostscript.json · 来源: api.github.com

概览

软件包摘要

Interpreter for PostScript and PDF

命令和别名

  • dvipdf
  • eps2eps
  • gpcl6
  • gpcl6c
  • gpdlc
  • gs
  • gsbj
  • gsc
  • gsdj
  • gsdj500
  • gslj
  • gslp
  • gsnd
  • gsx
  • gxps
  • gxpsc
  • lprsetup.sh
  • pdf2dsc
  • pdf2ps
  • pf2afm
  • pfbtopfa
  • pphs
  • printafm
  • ps2ascii
  • ps2epsi
  • ps2pdf
  • ps2pdf12
  • ps2pdf13
  • ps2pdf14
  • ps2pdfwr
  • ps2ps
  • ps2ps2

历史

项目历史与用法

Ghostscript is a long-running interpreter and conversion engine for PostScript and PDF files, with related GhostPDL components for other page description languages.

项目历史

Ghostscript dates to the late 1980s: the official version history lists Ghostscript 1.0 on August 11, 1988, followed by early 1.x releases in 1989. The documentation describes the core product as a PostScript interpreter layer paired with a graphics library.

The project grew from a PostScript interpreter into the Ghostscript/GhostPDL family. Official documentation describes GhostPDF, GhostPCL, GhostXPS, and GhostPDL as related products sharing the Ghostscript graphics library, while Artifex documents a newer C-based PDF interpreter and the commercial Ghostscript Enterprise line.

采用历史

Ghostscript became infrastructure for Unix printing, document conversion, prepress, archiving, and server-side PDF workflows. The project website describes uses in printers, multifunction devices, raster image processors, document management systems, PDF generation tools, and cloud printing.

使用方式

Practitioners usually encounter Ghostscript through the `gs` executable or helper commands such as `ps2pdf`. Common workflows include rendering PostScript or PDF to images, converting PostScript to PDF, selecting output devices, compressing or optimizing PDF files, and embedding the engine through an SDK.

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

Package nerds care about Ghostscript because it is one of the classic pieces of document-processing plumbing: a package that quietly enables print filters, TeX and publishing toolchains, image conversion, PDF generation, and archival pipelines across many operating systems.

时间线

  • 1988: Ghostscript 1.0 released.
  • 1989: Ghostscript 1.1, 1.2, and 1.3 released.
  • 2010: Ghostscript 9.00 released.
  • 2022: Ghostscript 10.00.0 released.

Related projects

  • Related Artifex projects and product names include GhostPDF, GhostPCL, GhostXPS, GhostPDL, MuPDF, and Ghostscript Enterprise.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:interpreter

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dvipdfcli全局可执行文件
eps2epscli全局可执行文件
gpcl6cli全局可执行文件
gpcl6ccli全局可执行文件
gpdlccli全局可执行文件
gscli全局可执行文件
gsbjcli全局可执行文件
gsccli全局可执行文件
gsdjcli全局可执行文件
gsdj500cli全局可执行文件
gsljcli全局可执行文件
gslpcli全局可执行文件
gsndcli全局可执行文件
gsxcli全局可执行文件
gxpscli全局可执行文件
gxpsccli全局可执行文件
lprsetup.shcli全局可执行文件
pdf2dsccli全局可执行文件
pdf2pscli全局可执行文件
pf2afmcli全局可执行文件
pfbtopfacli全局可执行文件
pphscli全局可执行文件
printafmcli全局可执行文件
ps2asciicli全局可执行文件
ps2epsicli全局可执行文件
ps2pdfcli全局可执行文件
ps2pdf12cli全局可执行文件
ps2pdf13cli全局可执行文件
ps2pdf14cli全局可执行文件
ps2pdfwrcli全局可执行文件
ps2pscli全局可执行文件
ps2ps2cli全局可执行文件
unix-lpr.shcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/ArtifexSoftware/ghostpdl-downloads

安装元数据

软件包元数据

软件包键brew:ghostscript
版本10.07.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ghostscript
主页https://www.ghostscript.com/
仓库https://github.com/ArtifexSoftware/ghostpdl-downloads
上游文档https://ghostscript.com/documentation/index.html
许可证AGPL-3.0-or-later
源码归档https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/ghostpdl-10.07.1.tar.xz
最后更新2026-05-23T00:55:24Z
Pulseupdated
依赖fontconfig, freetype, jbig2dec, jpeg-turbo, leptonica, libarchive, libidn, libpng, libtiff, little-cms2, openjpeg, tesseract
构建依赖pkgconf
macOS 提供的库expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Ghostscript is now built `--without-versioned-path`. Temporary backwards compatibility symlinks exist but will be removed with 10.07.0 release.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameghostscript
Aliases
  • gs
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • gambit-scheme
  • gerbil-scheme
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

ghostscript 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF

https://www.ghostscript.com/

sudo apt install ghostscript
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • 2 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ghostscript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ghostscript-doc 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF - Documentation

https://www.ghostscript.com/

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

libgs-common 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF - ICC profiles

https://www.ghostscript.com/

sudo apt install libgs-common
  • Section: libs
  • Architecture: all
  • Source Package: ghostscript
  • normalized package name match
  • 匹配方式:Ghostscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgs-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgs-dev 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF - Development Files

https://www.ghostscript.com/

sudo apt install libgs-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: ghostscript
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgs10 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF - Library

https://www.ghostscript.com/

sudo apt install libgs10
  • Section: libs
  • Architecture: amd64
  • Source Package: ghostscript
  • 18 依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgs10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgs10-common 10.05.1~dfsg-1+deb13u1

interpreter for the PostScript language and for PDF - common files

https://www.ghostscript.com/

sudo apt install libgs10-common
  • Section: libs
  • Architecture: all
  • Source Package: ghostscript
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgs10-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ghostscript

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

ghostscript 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF

https://www.ghostscript.com/

sudo apt install ghostscript
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • 2 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ghostscript from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

ghostscript-doc 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF - Documentation

https://www.ghostscript.com/

sudo apt install ghostscript-doc
  • Section: text
  • Architecture: all
  • Source Package: ghostscript
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ghostscript-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgs-common 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF - ICC profiles

https://www.ghostscript.com/

sudo apt install libgs-common
  • Section: libs
  • Architecture: all
  • Source Package: ghostscript
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgs-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgs-dev 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF - Development Files

https://www.ghostscript.com/

sudo apt install libgs-dev
  • Section: text
  • Architecture: amd64
  • Source Package: ghostscript
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgs10 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF - Library

https://www.ghostscript.com/

sudo apt install libgs10
  • Section: libs
  • Architecture: amd64
  • Source Package: ghostscript
  • 19 依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgs10 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgs10-common 10.02.1~dfsg1-0ubuntu7

interpreter for the PostScript language and for PDF - common files

https://www.ghostscript.com/

sudo apt install libgs10-common
  • Section: libs
  • Architecture: all
  • Source Package: ghostscript
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgs10-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

ghostscript 10.07.1-r0

Interpreter for the PostScript language and for PDF

https://ghostscript.com/

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

ghostscript-dbg 10.07.1-r0

Interpreter for the PostScript language and for PDF (debug symbols)

https://ghostscript.com/

sudo apk add ghostscript-dbg
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: ghostscript
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ghostscript
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ghostscript-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ghostscript-dev 10.07.1-r0

Interpreter for the PostScript language and for PDF (development files)

https://ghostscript.com/

sudo apk add ghostscript-dev
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: ghostscript
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ghostscript
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ghostscript-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment