1 <sect2><title> </title><para> </para></sect2>
4 <title>Installation of Bzip2</title>
6 <para>Begin compiling the package:</para>
8 <para><screen><userinput>make -f Makefile-libbz2_so</userinput></screen></para>
10 <para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built
11 using a different <filename>Makefile</filename> file, in this case the
12 <filename>Makefile-libbz2_so</filename> file, which creates a dynamic
13 <filename>libbz2.so</filename> library and links the bzip2 utilities
16 <para>Continue compiling the package:</para>
18 <para><screen><userinput>make</userinput></screen></para>
20 <para>Install the package:</para>
22 <para><screen><userinput>make install</userinput></screen></para>
24 <para>Copy the Bzip2 binary into the <filename
25 class="directory">/bin</filename> directory, make some
26 neccessary symbolic links and clean up.</para>
28 <para><screen><userinput>cp bzip2-shared /bin/bzip2 &&
29 cp -a libbz2.so* /lib &&
30 ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
31 rm /usr/bin/{bunzip2,bzcat,bzip2} &&
32 mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &&
33 ln -s bzip2 /bin/bunzip2 &&
34 ln -s bzip2 /bin/bzcat</userinput></screen></para>