tar.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.4/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. <title>Tar-&tar-version;</title>
  10. <indexterm zone="ch-system-tar">
  11. <primary sortas="a-Tar">Tar</primary>
  12. </indexterm>
  13. <sect2 role="package">
  14. <title/>
  15. <para>The Tar package contains an archiving program.</para>
  16. <segmentedlist>
  17. <segtitle>&buildtime;</segtitle>
  18. <segtitle>&diskspace;</segtitle>
  19. <seglistitem>
  20. <seg>0.2 SBU</seg>
  21. <seg>12.7 MB</seg>
  22. </seglistitem>
  23. </segmentedlist>
  24. <segmentedlist>
  25. <segtitle>&dependencies;</segtitle>
  26. <seglistitem>
  27. <seg>Bash, Bzip2, Binutils, Coreutils, Diffutils, GCC, Gettext,
  28. Glibc, Gzip, Grep, Make, Patch, and Sed</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Tar</title>
  34. <para>Apply a patch to fix some issues with the test suite when using
  35. GCC-&gcc-version;:</para>
  36. <screen><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
  37. <para>Tar has a bug when the <parameter>-S</parameter> option is used
  38. with files larger than 4 GB. The following patch properly fixes this
  39. issue:</para>
  40. <screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
  41. <para>Prepare Tar for compilation:</para>
  42. <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
  43. <para>Compile the package:</para>
  44. <screen><userinput>make</userinput></screen>
  45. <para>To test the results, issue:
  46. <userinput>make check</userinput>.</para>
  47. <para>Install the package:</para>
  48. <screen><userinput>make install</userinput></screen>
  49. </sect2>
  50. <sect2 id="contents-tar" role="content">
  51. <title>Contents of Tar</title>
  52. <segmentedlist>
  53. <segtitle>Installed programs</segtitle>
  54. <seglistitem>
  55. <seg>rmt and tar</seg>
  56. </seglistitem>
  57. </segmentedlist>
  58. <variablelist>
  59. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  60. <?dbfo list-presentation="list"?>
  61. <?dbhtml list-presentation="table"?>
  62. <varlistentry id="rmt">
  63. <term><command>rmt</command></term>
  64. <listitem>
  65. <para>Remotely manipulates a magnetic
  66. tape drive through an interprocess communication connection</para>
  67. <indexterm zone="ch-system-tar rmt">
  68. <primary sortas="b-rmt">rmt</primary>
  69. </indexterm>
  70. </listitem>
  71. </varlistentry>
  72. <varlistentry id="tar">
  73. <term><command>tar</command></term>
  74. <listitem>
  75. <para>Creates, extracts files from, and lists the contents of archives,
  76. also known as tarballs</para>
  77. <indexterm zone="ch-system-tar tar">
  78. <primary sortas="b-tar">tar</primary>
  79. </indexterm>
  80. </listitem>
  81. </varlistentry>
  82. </variablelist>
  83. </sect2>
  84. </sect1>