10.79. XZ Utils-5.2.3 32 Bit Libraries

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.

10.79.1. Installation of XZ Utils

Prepare XZ Utils for compilation:

CC="gcc ${BUILD32}" ./configure \
    --prefix=/usr \
    --docdir=/usr/share/doc/xz-5.2.3

Compile the package:

make

To test the results, issue:

make check

Install the programs:

make install

Finally, move the shared library to a more appropriate location, and recreate the symlink pointing to it:

mv -v /usr/lib/liblzma.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so

Details on this package are located in Section 10.80.2, “Contents of XZ Utils.”