5.19. Installing Tar-1.13

Estimated build time:           0.25 SBU
Estimated required disk space:  10 MB

5.19.1. 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/static --disable-nls &&
make LDFLAGS=-static &&
make install

5.19.2. Contents of Tar

Last checked against version 1.13.

5.19.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