10.107. XZ Utils-5.0.5 N32 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.107.1. Installation of XZ Utils

Prepare XZ Utils for compilation:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --docdir=/usr/share/doc/xz-5.0.5

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/lib32/liblzma.so.* /lib32
ln -sfv ../../lib32/$(readlink /usr/lib32/liblzma.so) /usr/lib32/liblzma.so

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