blob: f03414c60fe37c0e9ae1cbe69ce02e8266f50df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installation of Gzip</title>
<para>Prepare Gzip for compilation:</para>
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
<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>
<para><screen><userinput>cp gzexe.in{,.backup}
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para>
<para>Compile the package:</para>
<para><screen><userinput>make</userinput></screen></para>
<para>Install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>And move the programs to the <filename
class="directory">/bin</filename> directory:</para>
<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></para>
</sect2>
|