source: BOOK/final-system/common/tar.xml@ 8c75f86f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c75f86f was 2bfaabe, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to TAR 1.22

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