gzip-inst.xml 1000 B

12345678910111213141516171819202122232425262728293031323334
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Gzip</title>
  4. <para>Prepare Gzip to be compiled:</para>
  5. <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
  6. <para>Change the default installation directory for Gzip so it will
  7. be installed in the <filename class="directory">/bin</filename>
  8. directory:</para>
  9. <para><screen><userinput>cp gzexe.in{,.backup}
  10. sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen></para>
  11. <para>Continue with compiling the package:</para>
  12. <para><screen><userinput>make</userinput></screen></para>
  13. <para>Install the package:</para>
  14. <para><screen><userinput>make install</userinput></screen></para>
  15. <para>Move the Gzip binaries to the <filename
  16. class="directory">/bin</filename> directory:</para>
  17. <para><screen><userinput>mv /usr/bin/gzip /bin
  18. rm /usr/bin/{gunzip,zcat}
  19. ln -s gzip /bin/gunzip
  20. ln -s gzip /bin/zcat
  21. ln -s gunzip /bin/uncompress</userinput></screen></para>
  22. </sect2>