Tagging 1.99.1
[linux_from_scratch.git] / BOOK / chapter06 / tar.xml
blob8d305150b9d7e9e6427d277efc186ec5da69b8ae
1 <sect1 id="ch-system-tar" xreflabel="Tar">
2 <title>Installing Tar-&tar-version;</title>
3 <?dbhtml filename="tar.html" dir="chapter06"?>
5 <para>The Tar package contains an archiving program.</para>
7 <screen>&buildtime; &tar-time;
8 &diskspace; &tar-compsize;</screen>
10 &aa-tar-down;
11 &aa-tar-dep;
13 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
15 <sect2>
16 <title>Installation of Tar</title>
18 <para>Prepare Tar for compilation:</para>
20 <screen><userinput>./configure --prefix=/usr --bindir=/bin \
21 &nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/sbin</userinput></screen>
23 <para>Compile the package:</para>
25 <screen><userinput>make</userinput></screen>
27 <para>This package has a test suite available which can perform a number of
28 checks to ensure it built correctly.  Should you choose to run it, the 
29 following command will do so:</para>
31 <screen><userinput>make check</userinput></screen>
33 <para>And install the package:</para>
35 <screen><userinput>make install</userinput></screen>
37 </sect2>
39 &aa-tar-shortdesc;
40 &aa-tar-desc;
42 </sect1>