AFPL Ghostscript-8.53

Introduction to Ghostscript

Ghostscript is a versatile processor for PostScript data with the ability to render PostScript to different targets.

Package Information

Additional Downloads

Standard Fonts

Other Fonts

Ghostscript Dependencies

Optional

libjpeg-6b, libpng-1.2.12, GTK+-1.2.10, and X Window System

Conflicts

This version of Ghostscript does not work with CUPS due to missing generic "cups" raster image driver. The necessary support cannot be patched in due to incompatible licenses. Use ESP Ghostscript-8.15.2 instead if you have CUPS.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gs

Installation of Ghostscript

Install Ghostscript by running the following commands:

./configure --prefix=/usr &&
make

This package does not come with a test suite.

Now, as the root user:

make install

To install the shared library libgs.so, run the following additional command as an unprivileged user:

make so

And again, as the root user:

make soinstall &&
install -v -d -m755 /usr/include/ps &&
install -v -m644 src/*.h /usr/include/ps &&
ln -v -s ps /usr/include/ghostscript
[Note]

Note

The shared library depends on GTK+-1.2.10. It is only used in external programs like GSview-4.8 and ImageMagick-6.2.8-0.

To finish the installation, unpack all fonts you've downloaded to /usr/share/ghostscript and ensure the ownerships of the files are root:root. Substitute <font-tarball> appropriately in the command below for the fonts you wish to install:

tar -xvf ../<font-tarball> -C /usr/share/ghostscript &&
chown -v -R root:root /usr/share/ghostscript/fonts

Command Explanations

install ...: Some packages (ImageMagick is one) need the Ghostscript interface headers in place to link to the shared library. These commands install the headers.

ln -v -s ps /usr/include/ghostscript: Some packages expect to find the interface headers in an alternate location.

Contents

Installed Programs: bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and wftopfa
Installed Library: libgs.so
Installed Directories: /usr/include/ps and /usr/share/ghostscript

Short Descriptions

gs

invokes Ghostscript, an interpreter of Adobe Systems' PostScript(tm) and Portable Document Format (PDF) languages.

AFPL Ghostscript provides many different scripts used to render PostScript/PDF files back and forth. Please refer to the HTML documentation or try man gs for information about the capabilities provided by the package.

Last updated on 2007-01-15 17:25:53 -0600