source: BOOK/final-system/common/tar.xml@ 035fb6f

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

r1119@server (orig r1117): chris | 2006-01-31 17:59:55 -0800
Updated package dependencies

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