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 |
|
---|
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 |
|
---|
28 | <para os="p1">The following patch adds a man page for <command>tar</command>:</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
|
---|
33 | when <command>tar</command> calls an outside compression utility like
|
---|
34 | <command>bzip2</command>:</para>
|
---|
35 |
|
---|
36 | <screen os="p4"><userinput>patch -Np1 -i ../&tar-revert_pipe_drain-patch;</userinput></screen>
|
---|
37 |
|
---|
38 | <para os="a">Prepare Tar for compilation:</para>
|
---|
39 |
|
---|
40 | <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
|
---|
41 |
|
---|
42 | <para os="c">Compile the package:</para>
|
---|
43 |
|
---|
44 | <screen os="d"><userinput>make</userinput></screen>
|
---|
45 |
|
---|
46 | <para os="e">To test the results, issue:
|
---|
47 | <userinput>make check</userinput>.</para>
|
---|
48 |
|
---|
49 | <para os="f">Install the package:</para>
|
---|
50 |
|
---|
51 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
52 |
|
---|
53 | </sect2>
|
---|
54 |
|
---|
55 | <sect2 id="contents-tar" role="content">
|
---|
56 | <title>Contents of Tar</title>
|
---|
57 |
|
---|
58 | <segmentedlist>
|
---|
59 | <segtitle>Installed programs</segtitle>
|
---|
60 |
|
---|
61 | <seglistitem>
|
---|
62 | <seg>rmt and tar</seg>
|
---|
63 | </seglistitem>
|
---|
64 | </segmentedlist>
|
---|
65 |
|
---|
66 | <variablelist>
|
---|
67 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
68 | <?dbfo list-presentation="list"?>
|
---|
69 | <?dbhtml list-presentation="table"?>
|
---|
70 |
|
---|
71 | <varlistentry id="rmt">
|
---|
72 | <term><command>rmt</command></term>
|
---|
73 | <listitem>
|
---|
74 | <para>Remotely manipulates a magnetic
|
---|
75 | tape drive through an interprocess communication connection</para>
|
---|
76 | <indexterm zone="ch-system-tar rmt">
|
---|
77 | <primary sortas="b-rmt">rmt</primary>
|
---|
78 | </indexterm>
|
---|
79 | </listitem>
|
---|
80 | </varlistentry>
|
---|
81 |
|
---|
82 | <varlistentry id="tar">
|
---|
83 | <term><command>tar</command></term>
|
---|
84 | <listitem>
|
---|
85 | <para>Creates, extracts files from, and lists the contents of
|
---|
86 | archives, also known as tarballs</para>
|
---|
87 | <indexterm zone="ch-system-tar tar">
|
---|
88 | <primary sortas="b-tar">tar</primary>
|
---|
89 | </indexterm>
|
---|
90 | </listitem>
|
---|
91 | </varlistentry>
|
---|
92 |
|
---|
93 | </variablelist>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | </sect1>
|
---|