2003-01-17 02:59:00 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bzip2</title>
|
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Begin compiling the package:</para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>make -f Makefile-libbz2_so</userinput></screen></para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built
|
|
|
|
using a different <filename>Makefile</filename> file, in this case the
|
|
|
|
<filename>Makefile-libbz2_so</filename> file, which creates a dynamic
|
|
|
|
<filename>libbz2.so</filename> library and links the bzip2 utilities
|
|
|
|
against it.</para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Continue compiling the package:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Copy the Bzip2 binary into the <filename
|
|
|
|
class="directory">/bin</filename> directory, make some
|
2003-02-03 23:24:24 +00:00
|
|
|
necessary symbolic links and clean up.</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>cp bzip2-shared /bin/bzip2 &&
|
2001-10-27 23:21:44 +01:00
|
|
|
cp -a libbz2.so* /lib &&
|
2002-09-14 05:18:47 +01:00
|
|
|
ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
|
2002-05-02 21:15:02 +01:00
|
|
|
rm /usr/bin/{bunzip2,bzcat,bzip2} &&
|
|
|
|
mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &&
|
2002-08-18 18:26:58 +01:00
|
|
|
ln -s bzip2 /bin/bunzip2 &&
|
2003-01-19 15:36:47 +00:00
|
|
|
ln -s bzip2 /bin/bzcat</userinput></screen></para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
|
|
|
</sect2>
|