#### Linux From Scratch - Version 9.0-systemd

### Chapter 6. Installing Basic System Software

- Prev

  Man-DB-2.8.6.1

- Next

  Texinfo-6.6

- Up
- Home

# 6.69. Tar-1.32

The Tar package contains an archiving program.

Approximate build time: 2.2 SBU
Required disk space: 45 MB

## 6.69.1. Installation of Tar

Prepare Tar for compilation:

    FORCE_UNSAFE_CONFIGURE=1  \
    ./configure --prefix=/usr \
                --bindir=/bin

The meaning of the configure options:

`FORCE_UNSAFE_CONFIGURE=1`

  This forces the test for `mknod` to be run as root. It is generally considered dangerous to run this test as the root user, but as it is being run on a system that has only been partially built, overriding it is OK.

Compile the package:

    make

To test the results (about 3 SBU), issue:

    make check

Install the package:

    make install
    make -C doc install-html docdir=/usr/share/doc/tar-1.32

## 6.69.2. Contents of Tar

Installed programs: tar
Installed directory: /usr/share/doc/tar-1.32

### Short Descriptions

tar | Creates, extracts files from, and lists the contents of archives, also known as tarballs

- Prev

  Man-DB-2.8.6.1

- Next

  Texinfo-6.6

- Up
- Home