source: BOOK/final-system/common/tar.xml@ 331f539

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 331f539 was ce3a096, checked in by Jim Gifford <clfs@…>, 16 years ago

Added: TAR Man Page Patch

  • 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.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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
28 <para os="p1">The following patch add a man page for tar:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man_page-patch;</userinput></screen>
31
32 <para os="p3">The following patch contains a fix for an issue that may occur
33 when tar calls an outside compression utility like bzip2:</para>
34
35<screen os="p4"><userinput>patch -Np1 -i ../&tar-revert_pipe_drain-patch;</userinput></screen>
36
37 <para os="a">Prepare Tar for compilation:</para>
38
39<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">To test the results, issue:
46 <userinput>make check</userinput>.</para>
47
48 <para os="f">Install the package:</para>
49
50<screen os="g"><userinput>make install</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-tar" role="content">
55 <title>Contents of Tar</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59
60 <seglistitem>
61 <seg>rmt and tar</seg>
62 </seglistitem>
63 </segmentedlist>
64
65 <variablelist>
66 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
67 <?dbfo list-presentation="list"?>
68 <?dbhtml list-presentation="table"?>
69
70 <varlistentry id="rmt">
71 <term><command>rmt</command></term>
72 <listitem>
73 <para>Remotely manipulates a magnetic
74 tape drive through an interprocess communication connection</para>
75 <indexterm zone="ch-system-tar rmt">
76 <primary sortas="b-rmt">rmt</primary>
77 </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
85 archives, also known as tarballs</para>
86 <indexterm zone="ch-system-tar tar">
87 <primary sortas="b-tar">tar</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 </sect2>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.