2003-01-01 05:34:55 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Ghostscript</title>
|
|
|
|
|
|
|
|
<para>Install Ghostscript by running the following commands:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/gs \
|
2003-02-06 06:25:54 +08:00
|
|
|
--sysconfdir=/etc/gs --enable-shared --enable-static &&
|
2003-01-01 05:34:55 +08:00
|
|
|
make &&
|
|
|
|
make install</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>To install the shared library <filename>libgs.so</filename>, run
|
|
|
|
the following commands additionally:</para>
|
|
|
|
|
2003-01-02 07:04:51 +08:00
|
|
|
<para><screen><userinput>make so &&
|
2003-01-01 05:34:55 +08:00
|
|
|
make soinstall</userinput></screen></para>
|
|
|
|
|
|
|
|
<note><para>The shared library is only used in external programs like
|
|
|
|
<xref linkend="gsview"/>.</para></note>
|
|
|
|
|
|
|
|
<para>To finish the installation, unpack all fonts you've loaded to
|
|
|
|
<filename>/usr/share/ghostscript</filename>.</para>
|
|
|
|
|
|
|
|
</sect2>
|