Estimated build time: 0.25 SBU Estimated required disk space: 10 MB |
Last checked against version 1.13.
Tar is an archiving program designed to store and extract files from an archive file known as a tar file.
Tar installs the following:
rmt and tar
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
A patch may be applied to give tar direct support for bzip2 files. This patch adds the -j option to tar, which is similar to the -z option used for gzip files.
Apply the patch by running the following command:
patch -Np1 -i ../tar-1.13.patch |
Prepare Tar to be compiled:
LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls |
Continue with compiling the package:
make |
Finish installing the package:
make install |