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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since cec0a99 was c2102b28, checked in by Chris Staub <chris@…>, 11 years ago

Improve consistency in package installation lists, mainly removing 'and'

Conflicts:

BOOK/final-system/common/attr.xml

  • Property mode set to 100644
File size: 2.9 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 adds a man page for <command>tar</command>:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man-patch;</userinput></screen>
31
32 <para os="a">Prepare Tar for compilation:</para>
33
34<screen os="b"><userinput>FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
35 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
36
37 <para os="c">Compile the package:</para>
38
39<screen os="d"><userinput>make</userinput></screen>
40
41 <para os="e">To test the results, issue:</para>
42
43<screen os="e2"><userinput remap="test">make check</userinput></screen>
44
45 <para os="f">Install the package:</para>
46
47<screen os="g"><userinput>make install</userinput></screen>
48
49 <para os="h">Generate the man page and place it in the proper location:</para>
50
51<screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
52
53 <para os="j">Install the documentation:</para>
54
55<screen os="k"><userinput>make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
56
57 </sect2>
58
59 <sect2 id="contents-tar" role="content">
60 <title>Contents of Tar</title>
61
62 <segmentedlist>
63 <segtitle>Installed programs</segtitle>
64 <segtitle>Installed directory</segtitle>
65
66 <seglistitem>
67 <seg>rmt, tar</seg>
68 <seg>/usr/share/doc/tar-&tar-version;</seg>
69 </seglistitem>
70 </segmentedlist>
71
72 <variablelist>
73 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
74 <?dbfo list-presentation="list"?>
75 <?dbhtml list-presentation="table"?>
76
77 <varlistentry id="rmt">
78 <term><command>rmt</command></term>
79 <listitem>
80 <para>Remotely manipulates a magnetic
81 tape drive through an interprocess communication connection</para>
82 <indexterm zone="ch-system-tar rmt">
83 <primary sortas="b-rmt">rmt</primary>
84 </indexterm>
85 </listitem>
86 </varlistentry>
87
88 <varlistentry id="tar">
89 <term><command>tar</command></term>
90 <listitem>
91 <para>Creates, extracts files from, and lists the contents of
92 archives, also known as tarballs</para>
93 <indexterm zone="ch-system-tar tar">
94 <primary sortas="b-tar">tar</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 </variablelist>
100
101 </sect2>
102
103</sect1>
Note: See TracBrowser for help on using the repository browser.