tar-inst.xml 939 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <sect2>
  2. <title>Installation of Tar</title>
  3. <para>
  4. If you want to be able to directly use bzip2 files with tar, use the tar
  5. patch avaiable from the LFS FTP site. This patch will add the -y option
  6. to tar which works the same as the -z option to tar (which you can use
  7. for gzip files).
  8. </para>
  9. <para>
  10. Apply the patch by running the following command:
  11. </para>
  12. <blockquote><literallayout>
  13. <userinput>cd src &amp;&amp;</userinput>
  14. <userinput>patch -i ../../gnutarpatch.txt &amp;&amp;</userinput>
  15. <userinput>cd ..</userinput>
  16. </literallayout></blockquote>
  17. <para>
  18. Install Tar by running the following commands from the toplevel
  19. directory:
  20. </para>
  21. <blockquote><literallayout>
  22. <userinput>./configure --prefix=/usr --libexecdir=/usr/bin
  23. &amp;&amp;</userinput>
  24. <userinput>make &amp;&amp;</userinput>
  25. <userinput>make install &amp;&amp;</userinput>
  26. <userinput>mv /usr/bin/tar /bin</userinput>
  27. </literallayout></blockquote>
  28. </sect2>