source:
chapter06/tar-inst.xml@
316a346d
Last change on this file since 316a346d was b822811, checked in by , 23 years ago | |
---|---|
|
|
File size: 876 bytes |
Rev | Line | |
---|---|---|
[6370fa6] | 1 | <sect2> |
2 | <title>Installation of Tar</title> | |
3 | ||
[b822811] | 4 | <para>If you want to be able to directly use bzip2 files with tar, you can |
[81a47c0] | 5 | use the tar |
[4d994af4] | 6 | patch available from the LFS FTP site. This patch will add the -y option |
[81a47c0] | 7 | to tar which works the same as the -z option to tar (which can be used |
[b822811] | 8 | for gzip files).</para> |
[6370fa6] | 9 | |
[b822811] | 10 | <para>Apply the patch by running the following command:</para> |
[6370fa6] | 11 | |
[b822811] | 12 | <para><screen><userinput>cd src &&</userinput> |
[3229c6b] | 13 | <userinput>patch -i ../../gnutarpatch.txt &&</userinput> |
[b822811] | 14 | <userinput>cd ..</userinput></screen></para> |
[6370fa6] | 15 | |
[b822811] | 16 | <para>Install Tar by running the following commands from the toplevel |
17 | directory:</para> | |
[6370fa6] | 18 | |
[b822811] | 19 | <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin \</userinput> |
[27f5d3b] | 20 | <userinput> --bindir=/bin &&</userinput> |
[3229c6b] | 21 | <userinput>make &&</userinput> |
[b822811] | 22 | <userinput>make install</userinput></screen></para> |
[6370fa6] | 23 | |
24 | </sect2> | |
25 |
Note:
See TracBrowser
for help on using the repository browser.