source: chapter06/tar.xml@ 851829a

Last change on this file since 851829a was e02afe0, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Poerted r7369 from trunk to alphabetical branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7371 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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