source: final-system/common/tar.xml@ 6a84fa3

Last change on this file since 6a84fa3 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[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
[eac7362]36<para os="a">Apply a patch to fix some issues with the test suite when using
[bf8c11f]37GCC-&gcc-version;:</para>
38
39<screen os="a1"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
40
41 <para os="b">Tar has a bug when the <option>-S</option> option is used with
42 files larger than 4 GB. The following patch properly fixes this issue:</para>
43
44<screen os="b1"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
45
46 <para os="c">Prepare Tar for compilation:</para>
47
48<screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
49
50 <para os="d">Compile the package:</para>
51
52<screen os="e"><userinput>make</userinput></screen>
53
54 <para os="f">To test the results, issue:
55 <userinput>make check</userinput>.</para>
56
57 <para os="g">Install the package:</para>
58
59<screen os="h"><userinput>make install</userinput></screen>
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>
Note: See TracBrowser for help on using the repository browser.