tar.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-tar" role="wrap">
  7. <title>Tar-&tar-version;</title>
  8. <?dbhtml filename="tar.html"?>
  9. <indexterm zone="ch-system-tar"><primary sortas="a-Tar">Tar</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Tar package contains an archiving program.</para>
  12. <segmentedlist>
  13. <segtitle>&buildtime;</segtitle>
  14. <segtitle>&diskspace;</segtitle>
  15. <seglistitem><seg>0.2 SBU</seg><seg>12.7 MB</seg></seglistitem>
  16. </segmentedlist>
  17. <segmentedlist>
  18. <segtitle>&dependencies;</segtitle>
  19. <seglistitem><seg>Bash, Binutils, Coreutils,
  20. Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
  21. </segmentedlist>
  22. </sect2>
  23. <sect2 role="installation">
  24. <title>Installation of Tar</title>
  25. <para>Tar has a bug when the <parameter>-S</parameter> option is used
  26. with files larger than 4 GB. The following patch properly fixes this issue:</para>
  27. <screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
  28. <para>Prepare Tar for compilation:</para>
  29. <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
  30. <para>Compile the package:</para>
  31. <screen><userinput>make</userinput></screen>
  32. <para>To test the results, issue:
  33. <userinput>make check</userinput>.</para>
  34. <para>Install the package:</para>
  35. <screen><userinput>make install</userinput></screen>
  36. </sect2>
  37. <sect2 id="contents-tar" role="content"><title>Contents of Tar</title>
  38. <segmentedlist>
  39. <segtitle>Installed programs</segtitle>
  40. <seglistitem><seg>rmt and tar</seg></seglistitem>
  41. </segmentedlist>
  42. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  43. <?dbfo list-presentation="list"?>
  44. <?dbhtml list-presentation="table"?>
  45. <varlistentry id="rmt">
  46. <term><command>rmt</command></term>
  47. <listitem>
  48. <para>Remotely manipulates a magnetic
  49. tape drive through an interprocess communication connection</para>
  50. <indexterm zone="ch-system-tar rmt"><primary sortas="b-rmt">rmt</primary></indexterm>
  51. </listitem>
  52. </varlistentry>
  53. <varlistentry id="tar">
  54. <term><command>tar</command></term>
  55. <listitem>
  56. <para>Creates, extracts files from, and lists the contents of archives,
  57. also known as tarballs</para>
  58. <indexterm zone="ch-system-tar tar"><primary sortas="b-tar">tar</primary></indexterm>
  59. </listitem>
  60. </varlistentry>
  61. </variablelist>
  62. </sect2>
  63. </sect1>