tar-inst.xml 875 B

12345678910111213141516171819202122232425262728
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Tar</title>
  4. <para>A patch may be applied to give tar direct support for
  5. bzip2 files. This patch adds the <emphasis>-j</emphasis> option
  6. to tar, which is similar to the <emphasis>-z</emphasis> option
  7. used for gzip files.</para>
  8. <para>Apply the patch by running the following command:</para>
  9. <para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
  10. <para>Prepare Tar to be compiled:</para>
  11. <para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
  12. <para>Continue with compiling the package:</para>
  13. <para><screen><userinput>make</userinput></screen></para>
  14. <para>Finish installing the package:</para>
  15. <para><screen><userinput>make install</userinput></screen></para>
  16. </sect2>