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