1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <sect1 id="ch06-gzip">
- <title>Installing Gzip-&gzip-version;</title>
- <?dbhtml filename="gzip.html" dir="chapter06"?>
- <screen>Estimated build time: &gzip-time;
- Estimated required disk space: &gzip-compsize;</screen>
- &aa-gzip-shortdesc;
- &aa-gzip-dep;
- <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>
- <para>The gzexe program has the location of the gzip binary hard-wired into
- it. Because we later change the location of this binary, the following
- command will place the new location into the gzexe binary.</para>
- <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>
- </sect1>
|