source: clfs-sysroot/BOOK/final-system/common/tar.xml@ 10c5c28

Last change on this file since 10c5c28 was fabddfd, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated Tar to 1.22.

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]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
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Tar</title>
27
[3dc3c3e]28 <para os="p1">The following patch adds a man page for <command>tar</command>:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man_page-patch;</userinput></screen>
31
[fabddfd]32 <para os="p3">The following patch will add support for new compressors like XZ Utils:</para>
[3dc3c3e]33
[fabddfd]34<screen os="p4"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>
[3dc3c3e]35
[02095ae]36 <para os="a">Prepare Tar for compilation:</para>
37
[cee2ca2]38<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
39 --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[02095ae]40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">Install the package:</para>
46
[586feb7]47<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]48
49 </sect2>
50
51 <sect2 id="contents-tar" role="content">
52 <title>Contents of Tar</title>
53
54 <segmentedlist>
55 <segtitle>Installed programs</segtitle>
56
57 <seglistitem>
58 <seg>rmt and tar</seg>
59 </seglistitem>
60 </segmentedlist>
61
62 <variablelist>
63 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
64 <?dbfo list-presentation="list"?>
65 <?dbhtml list-presentation="table"?>
66
67 <varlistentry id="rmt">
68 <term><command>rmt</command></term>
69 <listitem>
70 <para>Remotely manipulates a magnetic
71 tape drive through an interprocess communication connection</para>
72 <indexterm zone="ch-system-tar rmt">
73 <primary sortas="b-rmt">rmt</primary>
74 </indexterm>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry id="tar">
79 <term><command>tar</command></term>
80 <listitem>
81 <para>Creates, extracts files from, and lists the contents of
82 archives, also known as tarballs</para>
83 <indexterm zone="ch-system-tar tar">
84 <primary sortas="b-tar">tar</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 </sect2>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.