aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/tar-inst.xml
blob: 098a0b8a7db826c298baf08db2c49e1aa8d21833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Tar</title>

<para>A patch may be applied to give tar direct support for bzip2
files. This patch adds the <emphasis>-j</emphasis> option to tar,
which is similar to the <emphasis>-z</emphasis> option used for
gzip files.</para>
 
<para>Apply the patch by running the following command:</para>

<para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>

<para>Prepare Tar to be compiled:</para>

<para><screen><userinput>./configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin --bindir=/bin</userinput></screen></para>

<para>Continue with compiling the package:</para>

<para><screen><userinput>make</userinput></screen></para>

<para>Finish installing the package:</para>

<para><screen><userinput>make install</userinput></screen></para>

</sect2>