6.7. Zlib-1.2.11

The Zlib package contains compression and decompression routines used by some programs.

6.7.1. Installation of Zlib

Several packages in the temporary system use Zlib, including Binutils, GCC, and Util-linux, so we will add it to /tools.

Prepare Zlib for compilation:

./configure \
    --prefix=/tools \
    --libdir=/tools/lib64

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.20.2, “Contents of Zlib.”