source: BOOK/final-system/common/tar.xml@ 253c621

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 253c621 was e0e40d3, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • Property mode set to 100644
File size: 2.9 KB
Line 
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
36<para os="p1">Apply a patch to fix some issues with the test suite when using
37GCC-&gcc-version;:</para>
38
39<screen os="p2"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
40
41 <para os="p3">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="p4"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
45
46 <para os="a">Prepare Tar for compilation:</para>
47
48<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
49
50 <para os="c">Compile the package:</para>
51
52<screen os="d"><userinput>make</userinput></screen>
53
54 <para os="e">To test the results, issue:
55 <userinput>make check</userinput>.</para>
56
57 <para os="f">Install the package:</para>
58
59<screen os="g"><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.