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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5894b06 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
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
[c5dbf71]30<screen os="p2"><userinput>patch -Np1 -i ../&tar-man-patch;</userinput></screen>
[6af3a34]31
[e0e40d3]32 <para os="a">Prepare Tar for compilation:</para>
[3f8be484]33
[3eeef443]34<screen os="b"><userinput>FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
35 --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
[3f8be484]36
[e0e40d3]37 <para os="c">Compile the package:</para>
[3f8be484]38
[e0e40d3]39<screen os="d"><userinput>make</userinput></screen>
[3f8be484]40
[686839b]41 <para os="e">To test the results, issue:</para>
42
43<screen os="e2"><userinput remap="test">make check</userinput></screen>
[3f8be484]44
[e0e40d3]45 <para os="f">Install the package:</para>
[3f8be484]46
[e0e40d3]47<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]48
[a04cedb]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
[3f8be484]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.