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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fc9ce67 was 12a6490, checked in by Jonathan Norman <jon@…>, 16 years ago

Removed --enable-64-bit-bfd from 32bit builds

  • Property mode set to 100644
File size: 2.6 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_page-patch;</userinput></screen>
31
32 <para os="p3">The following patch will add support for new compressors like LZIP:</para>
33
34<screen os="p4"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>
35
36 <para os="a">Prepare Tar for compilation:</para>
37
38<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
39
40 <para os="c">Compile the package:</para>
41
42<screen os="d"><userinput>make</userinput></screen>
43
44 <para os="e">To test the results, issue:
45 <userinput>make check</userinput>.</para>
46
47 <para os="f">Install the package:</para>
48
49<screen os="g"><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-tar" role="content">
54 <title>Contents of Tar</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58
59 <seglistitem>
60 <seg>rmt and tar</seg>
61 </seglistitem>
62 </segmentedlist>
63
64 <variablelist>
65 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
66 <?dbfo list-presentation="list"?>
67 <?dbhtml list-presentation="table"?>
68
69 <varlistentry id="rmt">
70 <term><command>rmt</command></term>
71 <listitem>
72 <para>Remotely manipulates a magnetic
73 tape drive through an interprocess communication connection</para>
74 <indexterm zone="ch-system-tar rmt">
75 <primary sortas="b-rmt">rmt</primary>
76 </indexterm>
77 </listitem>
78 </varlistentry>
79
80 <varlistentry id="tar">
81 <term><command>tar</command></term>
82 <listitem>
83 <para>Creates, extracts files from, and lists the contents of
84 archives, also known as tarballs</para>
85 <indexterm zone="ch-system-tar tar">
86 <primary sortas="b-tar">tar</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 </variablelist>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.