[bf8c11f] | 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 |
|
---|
| 8 | <sect1 id="ch-system-tar" role="wrap">
|
---|
| 9 | <?dbhtml filename="tar.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Tar-&tar-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-tar">
|
---|
| 14 | <primary sortas="a-Tar">Tar</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Tar package contains an archiving program.</para>
|
---|
| 21 |
|
---|
| 22 | <segmentedlist>
|
---|
| 23 | <segtitle>&dependencies;</segtitle>
|
---|
| 24 |
|
---|
| 25 | <seglistitem>
|
---|
| 26 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
|
---|
| 27 | Grep, Make, and Sed</seg>
|
---|
| 28 | </seglistitem>
|
---|
| 29 | </segmentedlist>
|
---|
| 30 |
|
---|
| 31 | </sect2>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="installation">
|
---|
| 34 | <title>Installation of Tar</title>
|
---|
| 35 |
|
---|
[e6423a01] | 36 | <para os="p1">Apply a patch to fix some issues with the test suite when using
|
---|
[bf8c11f] | 37 | GCC-&gcc-version;:</para>
|
---|
| 38 |
|
---|
[e6423a01] | 39 | <screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
|
---|
[bf8c11f] | 40 |
|
---|
[e6423a01] | 41 | <para os="p3">Tar has a bug when the <option>-S</option> option is used with
|
---|
[bf8c11f] | 42 | files larger than 4 GB. The following patch properly fixes this issue:</para>
|
---|
| 43 |
|
---|
[e6423a01] | 44 | <screen os="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
|
---|
[bf8c11f] | 45 |
|
---|
[e6423a01] | 46 | <para os="a">Prepare Tar for compilation:</para>
|
---|
[bf8c11f] | 47 |
|
---|
[e6423a01] | 48 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
---|
[bf8c11f] | 49 |
|
---|
[e6423a01] | 50 | <para os="c">Compile the package:</para>
|
---|
[bf8c11f] | 51 |
|
---|
[e6423a01] | 52 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[bf8c11f] | 53 |
|
---|
[e6423a01] | 54 | <para os="e">To test the results, issue:
|
---|
[bf8c11f] | 55 | <userinput>make check</userinput>.</para>
|
---|
| 56 |
|
---|
[e6423a01] | 57 | <para os="f">Install the package:</para>
|
---|
[bf8c11f] | 58 |
|
---|
[e6423a01] | 59 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[bf8c11f] | 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2 id="contents-tar" role="content">
|
---|
| 64 | <title>Contents of Tar</title>
|
---|
| 65 |
|
---|
| 66 | <segmentedlist>
|
---|
| 67 | <segtitle>Installed programs</segtitle>
|
---|
| 68 |
|
---|
| 69 | <seglistitem>
|
---|
| 70 | <seg>rmt and tar</seg>
|
---|
| 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="rmt">
|
---|
| 80 | <term><command>rmt</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Remotely manipulates a magnetic
|
---|
| 83 | tape drive through an interprocess communication connection</para>
|
---|
| 84 | <indexterm zone="ch-system-tar rmt">
|
---|
| 85 | <primary sortas="b-rmt">rmt</primary>
|
---|
| 86 | </indexterm>
|
---|
| 87 | </listitem>
|
---|
| 88 | </varlistentry>
|
---|
| 89 |
|
---|
| 90 | <varlistentry id="tar">
|
---|
| 91 | <term><command>tar</command></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>Creates, extracts files from, and lists the contents of
|
---|
| 94 | archives, also known as tarballs</para>
|
---|
| 95 | <indexterm zone="ch-system-tar tar">
|
---|
| 96 | <primary sortas="b-tar">tar</primary>
|
---|
| 97 | </indexterm>
|
---|
| 98 | </listitem>
|
---|
| 99 | </varlistentry>
|
---|
| 100 |
|
---|
| 101 | </variablelist>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | </sect1>
|
---|