Linux From Scratch - Version 7.7-systemd

Chapter 6. Installing Basic System Software

6.53. Xz-5.2.0

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.4 SBU

Required disk space:22 MB

6.53.1. Installation of Xz

Prepare Xz for compilation with:

./configure --prefix=/usr --docdir=/usr/share/doc/xz-5.2.0

Compile the package:

make

To test the results, issue:

make check

Install the package and make sure that all essential files are in
the correct directory: