mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-01 03:42:13 +00:00
23 lines
596 B
XML
23 lines
596 B
XML
|
<sect2>
|
||
|
<title>Installation of Bzip2</title>
|
||
|
|
||
|
<para>
|
||
|
Install Bzip2 by running the following commands:
|
||
|
</para>
|
||
|
|
||
|
<blockquote><literallayout>
|
||
|
|
||
|
<userinput>sed \</userinput>
|
||
|
<userinput> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS)
|
||
|
\$(LDFLAGS) -o"/ \</userinput>
|
||
|
<userinput> Makefile | make -f -
|
||
|
LDFLAGS=-static &&</userinput>
|
||
|
<userinput>make PREFIX=$LFS/usr install &&</userinput>
|
||
|
<userinput>cd $LFS/usr/bin &&</userinput>
|
||
|
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
|
||
|
|
||
|
</literallayout></blockquote>
|
||
|
|
||
|
</sect2>
|
||
|
|