2003-01-17 05:09:20 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Gzip</title>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Prepare Gzip for compilation:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
|
|
|
|
2003-09-05 02:21:14 +01:00
|
|
|
<para>The gzexe program has the location of the gzip binary hardcoded into
|
|
|
|
it. Because we later change the location of this binary, the following
|
|
|
|
command will place the new location into the gzexe binary.</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>cp gzexe.in{,.backup}
|
2003-01-19 15:36:47 +00:00
|
|
|
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para>
|
2003-01-17 05:09:20 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Compile the package:</para>
|
2003-01-17 05:09:20 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para>Install the package:</para>
|
2003-01-17 05:09:20 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>And move the programs to the <filename
|
2003-01-19 15:36:47 +00:00
|
|
|
class="directory">/bin</filename> directory:</para>
|
2003-01-17 05:09:20 +00:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>mv /usr/bin/gzip /bin
|
|
|
|
rm /usr/bin/{gunzip,zcat}
|
|
|
|
ln -s gzip /bin/gunzip
|
|
|
|
ln -s gzip /bin/zcat
|
2002-08-18 18:26:58 +01:00
|
|
|
ln -s gunzip /bin/uncompress</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 05:09:20 +00:00
|
|
|
</sect2>
|