2003-02-21 00:19:36 +08:00
|
|
|
<sect2>
|
2003-09-10 09:16:47 +08:00
|
|
|
<title>Installation of <application>Ghostscript</application></title>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
|
|
|
|
Ghostscript directory:</para>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/gs \
|
2003-09-13 12:11:07 +08:00
|
|
|
--enable-shared --enable-static &&
|
2003-02-21 00:19:36 +08:00
|
|
|
make &&
|
2003-09-10 09:16:47 +08:00
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
<para>To install the shared library <filename>libgs.so</filename>, run
|
|
|
|
the following commands additionally:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>make so &&
|
|
|
|
make soinstall</command></userinput></screen>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<note><para>The shared library is only used in external programs like
|
|
|
|
<xref linkend="gsview"/>.</para></note>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
2003-09-10 09:16:47 +08:00
|
|
|
<para>To finish the installation, unpack all fonts you've loaded to
|
|
|
|
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
2003-02-21 00:19:36 +08:00
|
|
|
|
|
|
|
</sect2>
|