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.
Download (HTTP): http://www.mirror.ac.uk/sites/ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz
Download (FTP): ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz
Download size: 1.1 MB
Estimated Disk space required: 5.8 MB
Estimated build time: 0.16 SBU
Required patch: http://www.linuxfromscratch.org/patches/blfs/5.0/unzip-5.50-fix-Makefile.patch
Required patch: http://www.linuxfromscratch.org/patches/blfs/5.0/unzip-5.50-fix-libz.patch
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/5.0/unzip-5.50-dotdot.patch
Recommended patch: http://www.linuxfromscratch.org/patches/blfs/5.0/unzip-5.50-dont-make-noise.patch
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.50-fix-Makefile.patch && patch -Np1 -i ../unzip-5.50-fix-libz.patch && patch -Np1 -i ../unzip-5.50-dont-make-noise.patch && patch -Np1 -i ../unzip-5.50-dotdot.patch && cp unix/Makefile . && make prefix=/usr linux && make prefix=/usr linux_shlibz && make prefix=/usr install && cp -a libunzip.so* /usr/lib |
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.