Introduction to GSview

GSview is a viewer for PostScript and PDF using X.

Package information

GSview dependencies


GTK+-1.2.10 and AFPL Ghostscript-8.14 or ESP Ghostscript-7.07.1 (with installed)

Installation of GSview

GSview uses netscape to browse through the online help. BLFS does not install Netscape, but has other browsers from which to choose. Simply edit srcunx/gvxreg.c using the following sed script with your browser's executable file name substituting for [browser]:

sed -i s/netscape/[browser]/ srcunx/gvxreg.c

Install GSview by running the following commands:

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
    srcunx/unx.mak > Makefile &&
patch -Np1 -i ../gsview-4.6-pstotext.patch &&
patch -Np1 -i ../gsview-4.6-lang.patch &&
make &&
make install

Command explanations

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|': This command changes the default installation directory to /usr.

Configuring GSview

Config files



The GSview package contains epstool, gsview and gsview-help.



epstool is a tool for extracting preview bitmaps in EPS files.


gsview is a viewer for PostScript (PS) and PDF files.


gsview-help is a script for displaying help files in your chosen browser.