macOS
brew install ghostscriptlocal Homebrew formula metadata
sudo port install ghostscriptMacPorts ports tree · print/ghostscript/Portfile · source: api.github.com
brew
Interpreter for PostScript and PDF. Version 10.07.1 via Homebrew; verified 2026-05-23.
install
brew install ghostscriptlocal Homebrew formula metadata
sudo port install ghostscriptMacPorts ports tree · print/ghostscript/Portfile · source: api.github.com
sudo apk add ghostscriptAlpine Linux edge package indexes · ghostscript · source: dl-cdn.alpinelinux.org
sudo apt install ghostscriptDebian stable package indexes · ghostscript · source: deb.debian.org
sudo dnf install ghostscriptFedora Rawhide package metadata · ghostscript · source: dl.fedoraproject.org
nix profile install nixpkgs#ghostscriptnixpkgs package indexes · pkgs/by-name/gh/ghostscript/package.nix · source: api.github.com
sudo pacman -S ghostscriptArch Linux sync databases · ghostscript · source: geo.mirror.pkgbuild.com
sudo zypper install ghostscriptopenSUSE Tumbleweed package metadata · ghostscript · source: download.opensuse.org
choco install GhostscriptChocolatey community package catalog · Ghostscript · source: community.chocolatey.org
scoop install main/ghostscriptScoop official bucket manifest trees · bucket/ghostscript.json · source: api.github.com
overview
Interpreter for PostScript and PDF
history
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dvipdf | cli | global executable | |
eps2eps | cli | global executable | |
gpcl6 | cli | global executable | |
gpcl6c | cli | global executable | |
gpdlc | cli | global executable | |
gs | cli | global executable | |
gsbj | cli | global executable | |
gsc | cli | global executable | |
gsdj | cli | global executable | |
gsdj500 | cli | global executable | |
gslj | cli | global executable | |
gslp | cli | global executable | |
gsnd | cli | global executable | |
gsx | cli | global executable | |
gxps | cli | global executable | |
gxpsc | cli | global executable | |
lprsetup.sh | cli | global executable | |
pdf2dsc | cli | global executable | |
pdf2ps | cli | global executable | |
pf2afm | cli | global executable | |
pfbtopfa | cli | global executable | |
pphs | cli | global executable | |
printafm | cli | global executable | |
ps2ascii | cli | global executable | |
ps2epsi | cli | global executable | |
ps2pdf | cli | global executable | |
ps2pdf12 | cli | global executable | |
ps2pdf13 | cli | global executable | |
ps2pdf14 | cli | global executable | |
ps2pdfwr | cli | global executable | |
ps2ps | cli | global executable | |
ps2ps2 | cli | global executable | |
unix-lpr.sh | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ArtifexSoftware/ghostpdl-downloads
install metadata
| Package key | brew:ghostscript |
|---|---|
| Version | 10.07.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghostscript |
| Homepage | https://www.ghostscript.com/ |
| Repository | https://github.com/ArtifexSoftware/ghostpdl-downloads |
| Upstream docs | https://ghostscript.com/documentation/index.html |
| License | AGPL-3.0-or-later |
| Source archive | https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/ghostpdl-10.07.1.tar.xz |
| Last updated | 2026-05-23T00:55:24Z |
| Pulse | updated |
| Dependencies | fontconfig, freetype, jbig2dec, jpeg-turbo, leptonica, libarchive, libidn, libpng, libtiff, little-cms2, openjpeg, tesseract |
| Build dependencies | pkgconf |
| Uses from macOS | expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Ghostscript is now built `--without-versioned-path`. Temporary backwards compatibility symlinks exist but will be removed with 10.07.0 release. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ghostscript |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ghostscript 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF
sudo apt install ghostscriptghostscript-doc 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF - Documentation
sudo apt install ghostscript-doclibgs-common 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF - ICC profiles
sudo apt install libgs-commonlibgs-dev 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF - Development Files
sudo apt install libgs-devlibgs10 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF - Library
sudo apt install libgs10libgs10-common 10.05.1~dfsg-1+deb13u1
interpreter for the PostScript language and for PDF - common files
sudo apt install libgs10-commonghostscript
nix profile install nixpkgs#ghostscriptghostscript 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF
sudo apt install ghostscriptghostscript-doc 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF - Documentation
sudo apt install ghostscript-doclibgs-common 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF - ICC profiles
sudo apt install libgs-commonlibgs-dev 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF - Development Files
sudo apt install libgs-devlibgs10 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF - Library
sudo apt install libgs10libgs10-common 10.02.1~dfsg1-0ubuntu7
interpreter for the PostScript language and for PDF - common files
sudo apt install libgs10-commonghostscript 10.07.1-r0
Interpreter for the PostScript language and for PDF
sudo apk add ghostscriptghostscript-dbg 10.07.1-r0
Interpreter for the PostScript language and for PDF (debug symbols)
sudo apk add ghostscript-dbgghostscript-dev 10.07.1-r0
Interpreter for the PostScript language and for PDF (development files)
sudo apk add ghostscript-devsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.