AFPL Ghostscript-8.11

Introduction to Ghostscript

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

Package information

Installation of Ghostscript

Install Ghostscript by running the following commands:

./configure --prefix=/usr --libexecdir=/usr/lib/gs \
    --sysconfdir=/etc/gs --enable-shared --enable-static &&
make &&
make install

To install the shared library libgs.so, run the following commands additionally:

make so &&
make soinstall

Note: The shared library depends on GTK+-1.2.10. It is only used in external programs like GSview-4.4.

To finish the installation, unpack all fonts you've loaded to /usr/share/ghostscript.

Command explanations

--libexecdir=/usr/lib/gs: This switch installs executable libraries of Ghostscript to /usr/lib/gs.

--sysconfdir=/etc/gs: This switch installs configuration data to /etc/gs instead of /usr/etc.

Contents

Ghostscript comes with a lot of filters to render PostScript/PDF files back and forth. Please refer to the HTML documentation or try man gs.