From b08f4096533577934b885fa9df41d3881d141612 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 15 Feb 2001 15:26:52 +0000 Subject: Initial XML commit git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/tar-inst.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 chapter05/tar-inst.xml (limited to 'chapter05/tar-inst.xml') diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml new file mode 100644 index 000000000..4a811c8cf --- /dev/null +++ b/chapter05/tar-inst.xml @@ -0,0 +1,40 @@ + +Installation of Tar + + +If you want to be able to directly use bzip2 files with tar, use the tar +patch avaiable from the LFS FTP site. This patch will add the -y option +to tar which works the same as the -z option to tar (which you can use +for gzip files). + + + +Apply the patch by running the following command: + + +
+ + cd src && + patch -i ../../gnutarpatch.txt && + cd .. + +
+ + +Install Tar by running the following commands: + + +
+ + ./configure --prefix=$LFS/usr + --disable-nls \ +    --libexecdir=$LFS/usr/bin && + + make LDFLAGS=-static && + make prefix=$LFS/usr install && + mv $LFS/usr/bin/tar $LFS/bin + +
+ +
+ -- cgit v1.2.3-54-g00ecf