lfs/chapter06/gzip-inst.xml
Gerard Beekmans 5ca1b36bcb Added a sed command to chapter 6-gzip to change the hard-coded
/usr/bin/gzip path to /bin/gzip


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1554 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-02-10 15:56:45 +00:00

21 lines
526 B
XML

<sect2>
<title>Installation of Gzip</title>
<para>Install Gzip by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
cp gzexe.in gzexe.in.backup &amp;&amp;
sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cd /usr/bin &amp;&amp;
mv gzip /bin &amp;&amp;
rm gunzip zcat &amp;&amp;
cd /bin &amp;&amp;
ln -sf gzip gunzip &amp;&amp;
ln -sf gzip zcat &amp;&amp;
ln -sf gunzip uncompress</userinput></screen></para>
</sect2>