tar-inst.xml 673 B

1234567891011121314151617181920
  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-&tar-patch-version;.patch</userinput></screen></para>
  9. <para>Install Tar by running the following commands:</para>
  10. <para><screen><userinput>./configure --prefix=$LFS/static --disable-nls &amp;&amp;
  11. make LDFLAGS=-static &amp;&amp;
  12. make install</userinput></screen></para>
  13. </sect2>