The minizip package provides a library for mini zip and unzip, based on Zlib.
Download (HTTP): https://zlib.net/fossils/zlib-1.3.1.tar.gz
You must unpack the downloaded zlib-1.3.1.tar.gz
tarball and navigate to the
extracted source directory. This package is inside that source.
Install minizip by running the following commands:
cd contrib/minizip && mv Makefile{,.orig} && autoreconf -fi && ./configure --prefix=/usr --disable-static && make
Now, as the root
user:
make install && rm -vf /usr/include/minizip/crypt.h
mv Makefile{,.orig}; autoconf
-fi: These commands remove the pregenerated
Makefile
and generate a new one.
--disable-static
: This
switch prevents installation of static versions of the libraries.
rm -vf /usr/include/minizip/crypt.h: This command deletes a C header that conflicts with another one, which can cause build issues for other packages.