# XZ-Utils-&xz-version;

The XZ-Utils package contains programs for compressing and decompressing files. Compressing text files with `XZ-Utils` yields a much better compression percentage than with the traditional `gzip`.

## Installation of XZ-Utils

Prepare XZ-Utils for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue: `make check`.

Install the programs:

    make install

Move the `xz` binary, and several symlinks that point to it, into the /bin directory:

    mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin

## Contents of XZ-Utils

Installed programs Installed libraries Installed directories
- lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep), lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz), lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzcat (link to xz), and xzdec liblzma.[a,so] /usr/include/lzma, /usr/share/doc/xz

Short Descriptions

`lzcat`

- Decompresses LZMA and xz files

`lzcmp`

- Compares lzma compressed files

`lzdiff`

- Compares 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 files

`lzma`

- Compresses lzma files

`lzmadec`

- Decompresses lzma files

`lzmore`

- Runs `more` on lzma files

`unlzma`

- Uncompresses lzma files

`unxz`

- Uncompresses xz files

`xz`

- Creates xz compressed files

`xzcat`

- Decompresses xz files

`xzdec`

- Decompresses to standard output

`liblzma`

- The LZMA library