Installing Tar-1.13

Estimated build time:           1 minute
Estimated required disk space:  7 MB

Installation of Tar

To be able to directly use bzip2 files with tar, use the tar patch available from the LFS FTP site. This patch will add the -j option to tar which works the same as the -z option to tar (which can be used for gzip files).

Apply the patch by running the following command:

patch -Np1 -i ../tar-1.13.patch

Install Tar by running the following commands:

./configure --prefix=$LFS/usr --disable-nls \
   --libexecdir=$LFS/usr/bin --bindir=$LFS/bin && 
make LDFLAGS=-static &&
make install

Contents of tar-1.13

Program Files

rmt and tar

Descriptions

rmt

rmt is a program used by the remote dump and restore programs in manipulating a magnetic tape drive through an interprocess communication connection.

tar

tar is an archiving program designed to store and extract files from an archive file known as a tar file.

Dependencies

Tar-1.13 needs the following to be installed:


bash: sh
binutils: ar, as, ld
diffutils: cmp
fileutils: chmod, cp, ln, ls, mv, rm
gcc: cc
grep: egrep, grep
make: make
patch: patch
sed: sed
sh-utils: basename, expr, sleep, uname
textutils: cat, tr