source: chapter06/tar.xml@ fad7667

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since fad7667 was 3e36a78, checked in by Jim Gifford <jim@…>, 19 years ago

Changed patches to use entities

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