lfs/chapter05/gzip-inst.xml
Gerard Beekmans c3feda740c Removed -f options from mv and rm
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1099 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-08-29 13:19:58 +00:00

16 lines
559 B
XML

<sect2>
<title>Installation of Gzip</title>
<para>Before Gzip is installed, the gzip patch file needs to be
unpacked.</para>
<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-version;.patch &amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &amp;&amp;</userinput>
<userinput>rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip</userinput></screen></para>
</sect2>