tar-inst.xml 796 B

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