%general-entities; ]> Zlib-&zlib-version; Zlib <para>The Zlib package contains compression and decompression routines used by some programs.</para> </sect2> <sect2 role="installation"> <title>Installation of Zlib Prepare Zlib for compilation: CC="gcc -isystem /usr/include" \ CXX="g++ -isystem /usr/include" \ LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ ./configure --prefix=/usr Compile the package: make To test the results, issue: make check Install the package: make install The previous command installed two .so files into /usr/lib. We will move them into /lib and then recreate a link in /usr/lib: mv -v /usr/lib/libz.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so Install the documentation: mkdir -pv /usr/share/doc/zlib-&zlib-version; cp -rv doc/* examples /usr/share/doc/zlib-&zlib-version; Contents of Zlib Installed libraries Installed directory libz.[a,so] /usr/share/doc/zlib-&zlib-version; Short Descriptions libz Contains compression and decompression functions used by some programs libz