tar-inst.xml 789 B

123456789101112131415161718192021
  1. <sect2>
  2. <title>Installation of Tar</title>
  3. <para>To be able to directly use bzip2 files with tar, use the tar
  4. patch available from the LFS FTP site. This patch will add the -j option
  5. to tar which works the same as the -z option to tar (which can be used
  6. for gzip files).</para>
  7. <para>Apply the patch by running the following command:</para>
  8. <para><screen><userinput>patch -Np1 -i ../tar-1.13.patch</userinput></screen></para>
  9. <para>Install Tar by running the following commands:</para>
  10. <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \</userinput>
  11. <userinput>&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/usr/bin --bindir=$LFS/bin &amp;&amp; </userinput>
  12. <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
  13. <userinput>make install</userinput></screen></para>
  14. </sect2>