source: chapter06/tar.xml@ 9cdcfb1

Last change on this file since 9cdcfb1 was 9cdcfb1, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged r7489 from trunk to udev_update branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/udev_update/BOOK@7492 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
20 <para>The Tar package contains an archiving program.</para>
21
22 <segmentedlist>
23 <segtitle>&buildtime;</segtitle>
24 <segtitle>&diskspace;</segtitle>
25
26 <seglistitem>
27 <seg>0.2 SBU</seg>
28 <seg>12.7 MB</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 <segmentedlist>
33 <segtitle>&dependencies;</segtitle>
34
35 <seglistitem>
36 <seg>Bash, Bzip2, Binutils, Coreutils, Diffutils, GCC, Gettext,
37 Glibc, Gzip, Grep, Make, Patch, and Sed</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Tar</title>
45
46 <para>Apply a patch to fix some issues with the test suite when using
47 GCC-&gcc-version;:</para>
48
49<screen><userinput>patch -Np1 -i ../&tar-gcc4_fix-patch;</userinput></screen>
50
51 <para>Tar has a bug when the <parameter>-S</parameter> option is used
52 with files larger than 4 GB. The following patch properly fixes this
53 issue:</para>
54
55<screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
56
57 <para>Prepare Tar for compilation:</para>
58
59<screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
60
61 <para>Compile the package:</para>
62
63<screen><userinput>make</userinput></screen>
64
65 <para>To test the results, issue:
66 <userinput>make check</userinput>.</para>
67
68 <para>Install the package:</para>
69
70<screen><userinput>make install</userinput></screen>
71
72 </sect2>
73
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 archives,
106 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.