Introduction to UnZip

The UnZip package contains ZIP extraction utilities. These are useful for extracting files from ZIP archives. ZIP archives are created with PKZIP or Info-ZIP utilities primarily in a DOS environment.

Package information

Installation of UnZip

By default, UnZip does not support shrink decompression. To enable it or to obtain more information, check out the UnZip FAQ at http://www.info-zip.org/pub/infozip/FAQ.html#unshrink.

Install UnZip by running the following commands:

patch -Np1 -i ../unzip-5.51-fix-Makefile.patch &&
patch -Np1 -i ../unzip-5.51-fix-libz.patch &&
patch -Np1 -i ../unzip-5.51-dont-make-noise.patch &&
cp unix/Makefile . &&
make prefix=/usr linux &&
make prefix=/usr linux_shlibz &&
make prefix=/usr install &&
cp -a libunzip.so* /usr/lib

Command explanations

make prefix=/usr linux: This command overrides the prefix variable that is set to /usr/local in the Makefile and builds the executables for a linux system. The alternatives to 'linux' can be seen with a 'make list' command.

make prefix=/usr linux_shlibz: Build shared libunzip and link UnZip against it and zlib.


The UnZip package contains unzip , funzip, unzipfsx, zipgrep and zipinfo.



unzip lists, tests or extracts files from a ZIP archive.


funzip allows the output of unzip commands to be redirected.


unzipfsx is the self-extracting stub that can be prepended to a ZIP archive. Files in this format allow the recipient to decompress the archive without installing UnZip.


zipgrep is a grep for ZIP archives.


zipinfo produces technical information about the files in a ZIP archive, including file access permissions, encryption status, type of compression, etc.