2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch06-gzip">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Gzip-&gzip-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="gzip.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<screen>Estimated build time: &gzip-time;
|
2001-08-10 21:29:04 +01:00
|
|
|
Estimated required disk space: &gzip-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2003-01-17 05:09:20 +00:00
|
|
|
&aa-gzip-shortdesc;
|
2001-12-15 14:28:34 +00:00
|
|
|
&aa-gzip-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Gzip</title>
|
|
|
|
|
|
|
|
<para>Prepare Gzip for compilation:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
2003-11-03 22:47:39 +00:00
|
|
|
<para>The <userinput>gzexe</userinput> program has the location of the
|
|
|
|
<userinput>gzip</userinput> binary hard-wired into it. Because we later change
|
|
|
|
the location of this latter binary, the following command assures that the new
|
|
|
|
location gets placed into the binary:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>cp gzexe.in{,.backup}
|
|
|
|
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
<para>And move the programs to the <filename
|
|
|
|
class="directory">/bin</filename> directory:</para>
|
|
|
|
|
|
|
|
<screen><userinput>mv /usr/bin/gzip /bin
|
|
|
|
rm /usr/bin/{gunzip,zcat}
|
|
|
|
ln -s gzip /bin/gunzip
|
|
|
|
ln -s gzip /bin/zcat
|
|
|
|
ln -s gunzip /bin/uncompress</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|