Installing gv

For anyone like me who uses Postscript in any form, such as creating plots using The Generic Mapping Tools ("GMT") (opens in new window), the ability to view Postscript files directly can be preferable. Using Preview or "open" from the command line with a Postscript file will cause the Apple Distiller to convert the Postscript file to a PDF, allowing it be viewed in Preview. A standard way of viewing Postscript files directly, however, is using Ghostscript or Ghostview (gv), both of which can be run from the command line or a shell script to view the Postscript file directly. Here, I focus on installing gv.

Xaw3d

12345678901234567890123456789012345678901234567890123456789012345678901234567890 A prerequisite for installing gv is the Xaw3d package. One may install this through Fink but I choose not to use Fink and instead provide instructions