8.8. Xz-5.8.3

#### Linux From Scratch - Version r13.0-174-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Bzip2-1.0.8

- Next

  Lz4-1.10.0

- Up
- Home

# 8.8. Xz-5.8.3

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.1 SBU
Required disk space: 24 MB

## 8.8.1. Installation of Xz

Prepare Xz for compilation with:

    ./configure --prefix=/usr    \
                --disable-static \
                --docdir=/usr/share/doc/xz-5.8.3

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

## 8.8.2. Contents of Xz

Installed programs: lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, and xzmore
Installed libraries: liblzma.so
Installed directories: /usr/include/lzma and /usr/share/doc/xz-5.8.3

### Short Descriptions

lzcat | Decompresses to standard output
lzcmp | Runs cmp on LZMA compressed files
lzdiff | Runs diff on LZMA compressed files
lzegrep | Runs egrep on LZMA compressed files
lzfgrep | Runs fgrep on LZMA compressed files
lzgrep | Runs grep on LZMA compressed files
lzless | Runs less on LZMA compressed files
lzma | Compresses or decompresses files using the LZMA format
lzmadec | A small and fast decoder for LZMA compressed files
lzmainfo | Shows information stored in the LZMA compressed file header
lzmore | Runs more on LZMA compressed files
unlzma | Decompresses files using the LZMA format
unxz | Decompresses files using the XZ format
xz | Compresses or decompresses files using the XZ format
xzcat | Decompresses to standard output
xzcmp | Runs cmp on XZ compressed files
xzdec | A small and fast decoder for XZ compressed files
xzdiff | Runs diff on XZ compressed files
xzegrep | Runs egrep on XZ compressed files
xzfgrep | Runs fgrep on XZ compressed files
xzgrep | Runs grep on XZ compressed files
xzless | Runs less on XZ compressed files
xzmore | Runs more on XZ compressed files
`liblzma` | The library implementing lossless, block-sorting data compression, using the Lempel-Ziv-Markov chain algorithm

- Prev

  Bzip2-1.0.8

- Next

  Lz4-1.10.0

- Up
- Home