ghostscript
brew install ghostscriptAlso known as: gs
Interpreter for PostScript and PDF
License: AGPL-3.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/ghostscript.json
Formula code: ghostscript.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 10.08.0 |
| head | ⚡️ | HEAD |
Depends on:
| fontconfig | 2.18.3 | XML-based font configuration API for X Windows |
| freetype | 2.15.0 | Software library to render fonts |
| jbig2dec | 0.20 | JBIG2 decoder and library (for monochrome documents) |
| jpeg-turbo | 3.2.1 | JPEG image codec that aids compression and decompression |
| leptonica | 1.87.0 | Image processing and image analysis library |
| libarchive | 3.8.11 | Multi-format archive and compression library |
| libidn | 1.44 | International domain name library |
| libpng | 1.6.59 | Library for manipulating PNG images |
| libtiff | 4.7.2 | TIFF library and utilities |
| little-cms2 | 2.19.1 | Color management engine supporting ICC profiles |
| openjpeg | 2.5.4 | Library for JPEG-2000 image manipulation |
| tesseract | 5.5.4 | OCR (Optical Character Recognition) engine |
Depends on when building from source:
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
Uses from macOS: expat
Conflicts with: gambit-scheme (because both install `gsc` binary), gerbil-scheme (because both install `gsc` binary)
Binaries:
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,
unix-lpr.sh
| Ghostscript is now built `--without-versioned-path`. Temporary backwards compatibility symlinks exist but will be removed with 10.07.0 release. |
GitHub Packages downloads:
| Last 30 days | 305,068 |
|---|---|
| Downloads | 20,643,087 |
| Analytics install events (30 days) | 17,478 |
| Downloads / install events (30 days) | 17.5× |
Source: GitHub Packages, fetched 2026-11-03T00:39:20Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 17,453 | 46,859 | 263,110 |
Installs (--HEAD) | 25 | 56 | 287 |
| Installs on Request | 13,339 | 34,889 | 182,260 |
Installs on Request (--HEAD) | 25 | 56 | 286 |
| Build Errors | 50 |