gzip.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-gzip" xreflabel="Gzip" role="wrap">
  7. <title>Gzip-&gzip-version;</title>
  8. <?dbhtml filename="gzip.html"?>
  9. <indexterm zone="ch-system-gzip"><primary sortas="a-Gzip">Gzip</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <segmentedlist>
  12. <segtitle>&buildtime;</segtitle>
  13. <segtitle>&diskspace;</segtitle>
  14. <seglistitem><seg>0.1 SBU</seg><seg>2.6 MB</seg></seglistitem>
  15. </segmentedlist>
  16. </sect2>
  17. <sect2 role="installation">
  18. <title>Installation of Gzip</title>
  19. <para>Prepare Gzip for compilation:</para>
  20. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  21. <para>Issue a sed command:</para>
  22. <screen><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
  23. <para>Compile the package:</para>
  24. <screen><userinput>make</userinput></screen>
  25. <para>Install the package:</para>
  26. <screen><userinput>make install</userinput></screen>
  27. <para>Move the programs to the <filename class="directory">/bin</filename> directory:</para>
  28. <screen><userinput>mv /usr/bin/gzip /bin
  29. rm /usr/bin/{gunzip,zcat}
  30. ln -s gzip /bin/gunzip
  31. ln -s gzip /bin/zcat
  32. ln -s gunzip /bin/uncompress</userinput></screen>
  33. </sect2>
  34. <sect2 id="contents-gzip" role="content"><title>Contents of Gzip</title>
  35. <para>See testing</para>
  36. </sect2>
  37. </sect1>