6.15. Tar-1.34

The Tar package provides the ability to create tar archives as well as perform various other kinds of archive manipulation. Tar can be used on previously created archives to extract files, to store additional files, or to update or list files which were already stored.

Approximate build time: 0.2 SBU
Required disk space: 40 MB

6.15.1. Installation of Tar

Prepare Tar for compilation:

./configure --prefix=/usr                     \
            --host=$LFS_TGT                   \
            --build=$(build-aux/config.guess) \
            --bindir=/bin

Compile the package:

make

Install the package:

make DESTDIR=$LFS install

Details on this package are located in Section 8.66.2, “Contents of Tar.”