source: chapter06/tar.xml@ be7082f

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 be7082f was 2e02c35, checked in by Matthew Burgess <matthew@…>, 19 years ago

Upgrade to gcc-4.0.1 (merge of gcc4 branch)

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

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