mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 17:17:20 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1045 af4574ff-66df-0310-9fd7-8a98e5e911e0
29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<sect2>
|
|
<title>Installation of <application>Ghostscript</application></title>
|
|
|
|
<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
|
|
Ghostscript directory:</para>
|
|
|
|
<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 \
|
|
--sysconfdir=/etc/gs --enable-shared --enable-static &&
|
|
make &&
|
|
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>
|
|
|
|
<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 class="directory">/usr/share/ghostscript</filename>.</para>
|
|
|
|
</sect2>
|