| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | <sect1 id="ch06-gzip" xreflabel="Gzip"><title>Installing Gzip-&gzip-version;</title><?dbhtml filename="gzip.html" dir="chapter06"?><para>The Gzip package contains programs for compressing and decompressingfiles.</para><screen>Estimated build time:           &gzip-time;Estimated required disk space:  &gzip-compsize;</screen>&aa-gzip-down;&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 <userinput>gzexe</userinput> script has the location of the<userinput>gzip</userinput> binary hard-wired into it. Because we later changethe location of the binary, the following command assures that the newlocation gets placed into the script:</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 <filenameclass="directory">/bin</filename> directory:</para><screen><userinput>mv /usr/bin/gzip /binrm /usr/bin/{gunzip,zcat}ln -s gzip /bin/gunzipln -s gzip /bin/zcatln -s gunzip /bin/uncompress</userinput></screen></sect2>&aa-gzip-shortdesc;&aa-gzip-desc;</sect1>
 |