source: general/sysutils/unzip.xml@ a31d341d

10.0 10.1 11.0 11.1 11.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since a31d341d was a31d341d, checked in by Randy McMurchy <randy@…>, 18 years ago

Added md5sums to Chapter 11 packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3419 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz">
8<!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip551.tar.gz">
9<!ENTITY unzip-md5sum "8a25712aac642430d87d21491f7c6bd1">
10<!ENTITY unzip-size "1.1 MB">
11<!ENTITY unzip-buildsize "6.5 MB">
12<!ENTITY unzip-time "0.11 SBU">
13]>
14
15<sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="unzip.html"?>
21<title>UnZip-&unzip-version;</title>
22
23<sect2>
24<title>Introduction to <application>UnZip</application></title>
25
26<para>The <application>UnZip</application> package contains
27<filename>ZIP</filename> extraction utilities. These are useful for extracting
28files from <filename>ZIP</filename> archives. <filename>ZIP</filename> archives
29are created with <application>PKZIP</application> or
30<application>Info-ZIP</application> utilities primarily in a
31<acronym>DOS</acronym> environment.
32</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing='compact'>
36<listitem><para>Download (HTTP): <ulink
37url="&unzip-download-http;"/></para></listitem>
38<listitem><para>Download (FTP): <ulink
39url="&unzip-download-ftp;"/></para></listitem>
40<listitem><para>Download MD5 sum: &unzip-md5sum;</para></listitem>
41<listitem><para>Download size: &unzip-size;</para></listitem>
42<listitem><para>Estimated disk space required:
43&unzip-buildsize;</para></listitem>
44<listitem><para>Estimated build time:
45&unzip-time;</para></listitem></itemizedlist>
46</sect3>
47
48<sect3><title>Additional downloads</title>
49<itemizedlist spacing='compact'>
50<listitem><para>Required Patch: <ulink
51url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para>
52</listitem>
53<listitem><para>Required Patch: <ulink
54url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
55</listitem>
56<listitem><para>Recommended Patch: <ulink
57url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
58</listitem></itemizedlist>
59</sect3>
60
61</sect2>
62
63<sect2>
64<title>Installation of <application>UnZip</application></title>
65
66<para>Install <application>UnZip</application> by running the following
67commands:</para>
68
69<screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &amp;&amp;
70patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &amp;&amp;
71patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &amp;&amp;
72cp unix/Makefile . &amp;&amp;
73make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux &amp;&amp;
74make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz &amp;&amp;
75make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install &amp;&amp;
76cp -d libunzip.so* /usr/lib</command></userinput></screen>
77
78</sect2>
79
80<sect2>
81<title>Command explanations</title>
82
83<para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
84This command overrides the <varname>prefix</varname> variable that is
85set to <filename class="directory">/usr/local</filename> in the
86<filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
87environment variable to instruct <application>UnZip</application> to use
88the shrinking algorithm based on the <acronym>LZW</acronym> compression
89algorithm, and builds the executables for a Linux system.
90The alternatives to 'linux' can be seen with a
91<command>make list</command> command.</para>
92
93<para><command>make ... linux_shlibz</command>: Build shared
94<filename>libunzip</filename> and link <application>UnZip</application> against
95it and <application>zlib</application>.</para>
96
97</sect2>
98
99<sect2>
100<title>Contents</title>
101
102<para>The <application>UnZip</application> package contains
103<command>unzip</command>, <command>funzip</command>, <command>unzipfsx</command>,
104<command>zipgrep</command>, <command>zipinfo</command> and the
105<filename class="libraryfile">libunzip</filename> library.</para>
106
107</sect2>
108
109<sect2><title>Description</title>
110
111<sect3><title>unzip</title>
112<para><command>unzip</command> lists, tests or extracts files from a
113<filename>ZIP</filename> archive.</para></sect3>
114
115<sect3><title>funzip</title>
116<para><command>funzip</command> allows the output of <command>unzip</command>
117commands to be redirected.</para></sect3>
118
119<sect3><title>unzipfsx</title>
120<para><command>unzipfsx</command> is the self-extracting stub that can be
121prepended to a <filename>ZIP</filename> archive. Files in this format allow
122the recipient to decompress the archive without installing
123<application>UnZip</application>.</para></sect3>
124
125<sect3><title>zipgrep</title>
126<para><command>zipgrep</command> is a grep for <filename>ZIP</filename>
127archives.</para></sect3>
128
129<sect3><title>zipinfo</title>
130<para><command>zipinfo</command> produces technical information about the files
131in a <filename>ZIP</filename> archive, including file access permissions,
132encryption status, type of compression, etc.</para></sect3>
133
134</sect2>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.