6.60. Installing Tar-1.13

Estimated build time:           0.26 SBU
Estimated required disk space:  6 MB

6.60.1. Installation of Tar

If you want to be able to directly use bzip2 files with tar, you can 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=/usr \
    --libexecdir=/usr/bin --bindir=/bin &&
make &&
make install

6.60.2. Contents of Tar

Last checked against version 1.13.

6.60.3. Tar Installation Dependencies

Last checked against version 1.13.

Autoconf: autoconf, autoheader
Automake: aclocal, automake
Bash: sh
Binutils: ar, as, ld, ranlib
Diffutils: cmp
Fileutils: chmod, install, ls, mv, rm
Gettext: msgfmt, xgettext
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, fgrep, grep
M4: m4
Make: make
Gawk: gawk
Net-tools: hostname
Patch: patch
Sed: sed
Sh-utils: basename, echo, expr, sleep, uname
Texinfo: install-info, makeinfo
Textutils: cat, tr