unzip-5.50

Introduction to unzip

Download location (HTTP):       http://www.mirror.ac.uk/sites/ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz
Download location (FTP):        ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz
Version used:                   5.50
Package size:                   1.1 MB
Estimated Disk space required:  5.8 MB
Estimated build time:           0.42 SBU

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 ms-dos environment.

Download the two patches from http://downloads.linuxfromscratch.org/blfs-patches. The patches begin with unzip-5.50.

Installation of unzip

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 &&
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.

Contents

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

Description

unzip

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

funzip

funzip allows the output of unzip commands to be redirected.

unzipfsx

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

zipgrep is a grep for ZIP archives.

zipinfo

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