mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
23 lines
606 B
XML
23 lines
606 B
XML
|
<sect2>
|
||
|
<title>Installation of Gzip</title>
|
||
|
|
||
|
<para>
|
||
|
Before you install Gzip you have to unpack the gzip patch file.
|
||
|
</para>
|
||
|
|
||
|
<blockquote><literallayout>
|
||
|
|
||
|
<userinput>patch -Np1 -i ../gzip-1.2.4a.patch &&</userinput>
|
||
|
<userinput>./configure --prefix=$LFS/usr --disable-nls
|
||
|
&&</userinput>
|
||
|
<userinput>make LDFLAGS=-static &&</userinput>
|
||
|
<userinput>make install &&</userinput>
|
||
|
<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip
|
||
|
$LFS/bin &&</userinput>
|
||
|
<userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput>
|
||
|
|
||
|
</literallayout></blockquote>
|
||
|
|
||
|
</sect2>
|
||
|
|