source: chapter06/tar.xml@ effd9c6

6.1.1
Last change on this file since effd9c6 was e9f3e85, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Finished the addition of patches.ent

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

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1770019]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[81fd230]6<sect1 id="ch-system-tar" role="wrap">
[673b0d8]7<title>Tar-&tar-version;</title>
8<?dbhtml filename="tar.html"?>
9
10<indexterm zone="ch-system-tar"><primary sortas="a-Tar">Tar</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[81fd230]13<para>The Tar package contains an archiving program.</para>
[5888299]14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
[fc1024a]18<seglistitem><seg>0.2 SBU</seg><seg>12.7 MB</seg></seglistitem>
[a001133]19</segmentedlist>
[673b0d8]20
[81fd230]21<segmentedlist>
[45992ae]22<segtitle>&dependencies;</segtitle>
[81fd230]23<seglistitem><seg>Bash, Binutils, Coreutils,
24Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
25</segmentedlist>
[a001133]26</sect2>
[3554fa3a]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Tar</title>
30
[07f6ab4]31<para>Tar has a bug when the <parameter>-S</parameter> option is used
[11a9c65]32with files larger than 4 GB. The following patch properly fixes this issue:</para>
[5c0f191]33
[e9f3e85]34<screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
[5c0f191]35
[73aedd1d]36<para>Prepare Tar for compilation:</para>
37
[c76accc]38<screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[73aedd1d]39
40<para>Compile the package:</para>
41
42<screen><userinput>make</userinput></screen>
43
[673b0d8]44<para>To test the results, issue:
[8a5f906]45<userinput>make check</userinput>.</para>
[73aedd1d]46
[81fd230]47<para>Install the package:</para>
[73aedd1d]48
49<screen><userinput>make install</userinput></screen>
50
51</sect2>
[6370fa6]52
[5888299]53
[c6cb3aa]54<sect2 id="contents-tar" role="content"><title>Contents of Tar</title>
[673b0d8]55
[81fd230]56<segmentedlist>
57<segtitle>Installed programs</segtitle>
58<seglistitem><seg>rmt and tar</seg></seglistitem>
59</segmentedlist>
60
61<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
62<?dbfo list-presentation="list"?>
[8f97096]63<?dbhtml list-presentation="table"?>
[81fd230]64
65<varlistentry id="rmt">
66<term><command>rmt</command></term>
67<listitem>
68<para>Remotely manipulates a magnetic
69tape drive through an interprocess communication connection</para>
70<indexterm zone="ch-system-tar rmt"><primary sortas="b-rmt">rmt</primary></indexterm>
71</listitem>
72</varlistentry>
73
74<varlistentry id="tar">
75<term><command>tar</command></term>
76<listitem>
[07f6ab4]77<para>Creates, extracts files from, and lists the contents of archives,
78also known as tarballs</para>
[81fd230]79<indexterm zone="ch-system-tar tar"><primary sortas="b-tar">tar</primary></indexterm>
80</listitem>
81</varlistentry>
82</variablelist>
[673b0d8]83
84</sect2>
85
86</sect1>
[81fd230]87
Note: See TracBrowser for help on using the repository browser.