5.34. Xz-5.2.2

#### Linux From Scratch - Version 7.10-rc1

### Chapter 5. Constructing a Temporary System

- Prev

  Util-linux-2.28.1

- Next

  Stripping

- Up
- Home

# 5.34. Xz-5.2.2

The Xz package contains programs for compressing and decompressing files. It provides capabilities for the lzma and the newer xz compression formats. Compressing text files with xz yields a better compression percentage than with the traditional gzip or bzip2 commands.

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

## 5.34.1. Installation of Xz

Prepare Xz for compilation:

    ./configure --prefix=/tools

Compile the package:

    make

Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Xz test suite anyway, issue the following command:

    make check

Install the package:

    make install

Details on this package are located in Section 6.45.2, “Contents of Xz.”

- Prev

  Util-linux-2.28.1

- Next

  Stripping

- Up
- Home