tar.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-tar" role="wrap">
  8. <?dbhtml filename="tar.html"?>
  9. <sect1info condition="script">
  10. <productname>tar</productname>
  11. <productnumber>&tar-version;</productnumber>
  12. <address>&tar-url;</address>
  13. </sect1info>
  14. <title>Tar-&tar-version;</title>
  15. <indexterm zone="ch-system-tar">
  16. <primary sortas="a-Tar">Tar</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Tar package contains an archiving program.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&tar-ch6-sbu;</seg>
  26. <seg>&tar-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Tar</title>
  32. <para>Apply a patch to correct a bug in Tar's testsuite:</para>
  33. <screen><userinput remap="pre">patch -Np1 -i ../&tar-testsuite-patch;</userinput></screen>
  34. <para>Prepare Tar for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>To test the results (about 1 SBU), issue:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">make install</userinput></screen>
  42. </sect2>
  43. <sect2 id="contents-tar" role="content">
  44. <title>Contents of Tar</title>
  45. <segmentedlist>
  46. <segtitle>Installed programs</segtitle>
  47. <seglistitem>
  48. <seg>rmt and tar</seg>
  49. </seglistitem>
  50. </segmentedlist>
  51. <variablelist>
  52. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  53. <?dbfo list-presentation="list"?>
  54. <?dbhtml list-presentation="table"?>
  55. <varlistentry id="rmt">
  56. <term><command>rmt</command></term>
  57. <listitem>
  58. <para>Remotely manipulates a magnetic
  59. tape drive through an interprocess communication connection</para>
  60. <indexterm zone="ch-system-tar rmt">
  61. <primary sortas="b-rmt">rmt</primary>
  62. </indexterm>
  63. </listitem>
  64. </varlistentry>
  65. <varlistentry id="tar">
  66. <term><command>tar</command></term>
  67. <listitem>
  68. <para>Creates, extracts files from, and lists the contents of archives,
  69. also known as tarballs</para>
  70. <indexterm zone="ch-system-tar tar">
  71. <primary sortas="b-tar">tar</primary>
  72. </indexterm>
  73. </listitem>
  74. </varlistentry>
  75. </variablelist>
  76. </sect2>
  77. </sect1>