| [3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
| [aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 | 
|---|
 | 3 |   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 | 
|---|
| [3f8be484] | 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 | 
 | 
|---|
 | 23 |   </sect2>
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 |   <sect2 role="installation">
 | 
|---|
 | 26 |     <title>Installation of Tar</title>
 | 
|---|
 | 27 | 
 | 
|---|
| [ce3a096] | 28 |     <para os="p1">The following patch add a man page for tar:</para>
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | <screen os="p2"><userinput>patch -Np1 -i ../&tar-man_page-patch;</userinput></screen>
 | 
|---|
 | 31 | 
 | 
|---|
 | 32 |     <para os="p3">The following patch contains a fix for an issue that may occur
 | 
|---|
| [bf56c25] | 33 |     when tar calls an outside compression utility like bzip2:</para>
 | 
|---|
 | 34 | 
 | 
|---|
| [ce3a096] | 35 | <screen os="p4"><userinput>patch -Np1 -i ../&tar-revert_pipe_drain-patch;</userinput></screen>
 | 
|---|
| [bf56c25] | 36 | 
 | 
|---|
| [e0e40d3] | 37 |     <para os="a">Prepare Tar for compilation:</para>
 | 
|---|
| [3f8be484] | 38 | 
 | 
|---|
| [e0e40d3] | 39 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
 | 
|---|
| [3f8be484] | 40 | 
 | 
|---|
| [e0e40d3] | 41 |     <para os="c">Compile the package:</para>
 | 
|---|
| [3f8be484] | 42 | 
 | 
|---|
| [e0e40d3] | 43 | <screen os="d"><userinput>make</userinput></screen>
 | 
|---|
| [3f8be484] | 44 | 
 | 
|---|
| [e0e40d3] | 45 |     <para os="e">To test the results, issue:
 | 
|---|
| [3f8be484] | 46 |     <userinput>make check</userinput>.</para>
 | 
|---|
 | 47 | 
 | 
|---|
| [e0e40d3] | 48 |     <para os="f">Install the package:</para>
 | 
|---|
| [3f8be484] | 49 | 
 | 
|---|
| [e0e40d3] | 50 | <screen os="g"><userinput>make install</userinput></screen>
 | 
|---|
| [3f8be484] | 51 | 
 | 
|---|
 | 52 |   </sect2>
 | 
|---|
 | 53 | 
 | 
|---|
 | 54 |   <sect2 id="contents-tar" role="content">
 | 
|---|
 | 55 |     <title>Contents of Tar</title>
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 |     <segmentedlist>
 | 
|---|
 | 58 |       <segtitle>Installed programs</segtitle>
 | 
|---|
 | 59 | 
 | 
|---|
 | 60 |       <seglistitem>
 | 
|---|
 | 61 |         <seg>rmt and tar</seg>
 | 
|---|
 | 62 |       </seglistitem>
 | 
|---|
 | 63 |     </segmentedlist>
 | 
|---|
 | 64 | 
 | 
|---|
 | 65 |     <variablelist>
 | 
|---|
 | 66 |       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
 | 
|---|
 | 67 |       <?dbfo list-presentation="list"?>
 | 
|---|
 | 68 |       <?dbhtml list-presentation="table"?>
 | 
|---|
 | 69 | 
 | 
|---|
 | 70 |       <varlistentry id="rmt">
 | 
|---|
 | 71 |         <term><command>rmt</command></term>
 | 
|---|
 | 72 |         <listitem>
 | 
|---|
 | 73 |           <para>Remotely manipulates a magnetic
 | 
|---|
 | 74 |           tape drive through an interprocess communication connection</para>
 | 
|---|
 | 75 |           <indexterm zone="ch-system-tar rmt">
 | 
|---|
 | 76 |             <primary sortas="b-rmt">rmt</primary>
 | 
|---|
 | 77 |           </indexterm>
 | 
|---|
 | 78 |         </listitem>
 | 
|---|
 | 79 |       </varlistentry>
 | 
|---|
 | 80 | 
 | 
|---|
 | 81 |       <varlistentry id="tar">
 | 
|---|
 | 82 |         <term><command>tar</command></term>
 | 
|---|
 | 83 |         <listitem>
 | 
|---|
 | 84 |           <para>Creates, extracts files from, and lists the contents of
 | 
|---|
 | 85 |           archives, also known as tarballs</para>
 | 
|---|
 | 86 |           <indexterm zone="ch-system-tar tar">
 | 
|---|
 | 87 |             <primary sortas="b-tar">tar</primary>
 | 
|---|
 | 88 |           </indexterm>
 | 
|---|
 | 89 |         </listitem>
 | 
|---|
 | 90 |       </varlistentry>
 | 
|---|
 | 91 | 
 | 
|---|
 | 92 |     </variablelist>
 | 
|---|
 | 93 | 
 | 
|---|
 | 94 |   </sect2>
 | 
|---|
 | 95 | 
 | 
|---|
 | 96 | </sect1>
 | 
|---|