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

clfs-3.0.0-systemd systemd
Last change on this file since 1c57432 was 686839b, checked in by William Harrington <kb0iic@…>, 11 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • 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 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 > /usr/share/man/man1/tar.1</userinput></screen>
52
53 </sect2>
54
55 <sect2 id="contents-tar" role="content">
56 <title>Contents of Tar</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
60
61 <seglistitem>
62 <seg>rmt and tar</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="rmt">
72 <term><command>rmt</command></term>
73 <listitem>
74 <para>Remotely manipulates a magnetic
75 tape drive through an interprocess communication connection</para>
76 <indexterm zone="ch-system-tar rmt">
77 <primary sortas="b-rmt">rmt</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry id="tar">
83 <term><command>tar</command></term>
84 <listitem>
85 <para>Creates, extracts files from, and lists the contents of
86 archives, also known as tarballs</para>
87 <indexterm zone="ch-system-tar tar">
88 <primary sortas="b-tar">tar</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 </variablelist>
94
95 </sect2>
96
97</sect1>
Note: See TracBrowser for help on using the repository browser.