source: BOOK/final-system/common/tar.xml@ 4ba982a3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4ba982a3 was 3373dd11, checked in by Jim Gifford <clfs@…>, 19 years ago

r668@server (orig r666): manuel | 2005-11-08 15:25:13 -0800
Removing SBUs and DUs. Chapter final-system, round 6.

  • Property mode set to 100644
File size: 3.0 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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-tar" role="wrap">
11 <?dbhtml filename="tar.html"?>
12
13 <title>Tar-&tar-version;</title>
14
15 <indexterm zone="ch-system-tar">
16 <primary sortas="a-Tar">Tar</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Tar package contains an archiving program.</para>
23
24 <segmentedlist>
25 <segtitle>&dependencies;</segtitle>
26
27 <seglistitem>
28 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
29 Grep, Make, and Sed</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 </sect2>
34
35 <sect2 role="installation">
36 <title>Installation of Tar</title>
37
38<para os="a">Apply a patch to fix some issues with the test suite when using
39GCC-&gcc-version;:</para>
40
41<screen os="a1"><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
42
43 <para os="b">Tar has a bug when the <option>-S</option> option is used with
44 files larger than 4 GB. The following patch properly fixes this issue:</para>
45
46<screen os="b1"><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
47
48 <para os="c">Prepare Tar for compilation:</para>
49
50<screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
51
52 <para os="d">Compile the package:</para>
53
54<screen os="e"><userinput>make</userinput></screen>
55
56 <para os="f">To test the results, issue:
57 <userinput>make check</userinput>.</para>
58
59 <para os="g">Install the package:</para>
60
61<screen os="h"><userinput>make install</userinput></screen>
62
63 </sect2>
64
65 <sect2 id="contents-tar" role="content">
66 <title>Contents of Tar</title>
67
68 <segmentedlist>
69 <segtitle>Installed programs</segtitle>
70
71 <seglistitem>
72 <seg>rmt and tar</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="rmt">
82 <term><command>rmt</command></term>
83 <listitem>
84 <para>Remotely manipulates a magnetic
85 tape drive through an interprocess communication connection</para>
86 <indexterm zone="ch-system-tar rmt">
87 <primary sortas="b-rmt">rmt</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry id="tar">
93 <term><command>tar</command></term>
94 <listitem>
95 <para>Creates, extracts files from, and lists the contents of
96 archives, also known as tarballs</para>
97 <indexterm zone="ch-system-tar tar">
98 <primary sortas="b-tar">tar</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 </variablelist>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.