lfs/chapter05/bzip2-inst.xml
2001-04-16 02:04:19 +00:00

21 lines
594 B
XML

<sect2>
<title>Installation of Bzip2</title>
<para>
Install Bzip2 by running the following commands:
</para>
<blockquote><literallayout>
<userinput>sed \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS)
\$(LDFLAGS) -o"/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;Makefile | make -f -
LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make PREFIX=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
</literallayout></blockquote>
</sect2>