10.70. XZ Utils-5.0.2 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.70.1. Installation of XZ Utils

Prepare XZ-Utils for compilation:

CC="gcc ${BUILD32}" ./configure --prefix=/usr libdir=/lib

Compile the package:


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

Move the static libraries to the proper location:

mv -v /lib/liblzma.a /usr/lib

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