source: BOOK/final-system/common/tar.xml@ 3b7bb78

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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