lfs/chapter06/gzip-inst.xml

24 lines
723 B
XML
Raw Normal View History

<sect2>
<title>Installation of Gzip</title>
<para>
Install Gzip by running the following commands:
</para>
<blockquote><literallayout>
<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd /usr/bin &amp;&amp;</userinput>
<userinput>mv gzip /bin &amp;&amp;</userinput>
<userinput>rm gunzip zcat &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
<userinput>ln -sf gzip gunzip &amp;&amp;</userinput>
<userinput>ln -s gzip zcat &amp;&amp;</userinput>
<userinput>ln -s gzip compress &amp;&amp;</userinput>
<userinput>ln -s gunzip uncompress</userinput>
</literallayout></blockquote>
</sect2>