2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-system-gzip" xreflabel="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
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Gzip package contains programs for compressing and decompressing
|
|
|
|
files.</para>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &gzip-time;
|
|
|
|
&diskspace; &gzip-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-gzip-down;
|
2003-11-15 16:07:18 +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>
|
|
|
|
|
2004-02-01 21:49:10 +00:00
|
|
|
<para>The <command>gzexe</command> script has the location of the
|
|
|
|
<command>gzip</command> binary hard-wired into it. Because we later change
|
2003-11-05 22:26:09 +00:00
|
|
|
the location of the binary, the following command assures that the new
|
|
|
|
location gets placed into the script:</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
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-gzip-shortdesc;
|
|
|
|
&aa-gzip-desc;
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|