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

clfs-3.0.0-systemd systemd
Last change on this file since 7cc51dea was fcc84cc, checked in by Chris Staub <chris@…>, 11 years ago

Replaced redirection operators with &gt;

  • Property mode set to 100644
File size: 2.9 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
[fcc84cc]51<screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
[a04cedb]52
[c873165]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
[3f8be484]57 </sect2>
58
59 <sect2 id="contents-tar" role="content">
60 <title>Contents of Tar</title>
61
62 <segmentedlist>
63 <segtitle>Installed programs</segtitle>
[c873165]64 <segtitle>Installed directory</segtitle>
[3f8be484]65
66 <seglistitem>
67 <seg>rmt and tar</seg>
[c873165]68 <seg>/usr/share/doc/tar-&tar-version;</seg>
[3f8be484]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.