6.20. Tar-1.20

The Tar package contains an archiving program.

6.20.1. Installation of Tar

TAR utilizes UTF-8 capability, without the following command the UTF-8 sections of the build will fail:

echo "gl_cv_func_wcwidth_works=yes" >> config.cache

Prepare Tar for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --cache-file=config.cache

Compile the package:

make

Install the package:

make install

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