lfs/chapter05/tar-inst.xml
Timothy Bauscher 984ab5a172 Converted static tar to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2328 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-01-15 07:32:17 +00:00

29 lines
875 B
XML

<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>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</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>