source: general/sysutils/unzip.xml@ daaaf87

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since daaaf87 was daaaf87, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to UnZip-5.52

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

  • Property mode set to 100644
File size: 6.3 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/unzip552.tar.gz">
8<!ENTITY unzip-download-ftp "ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">
9<!ENTITY unzip-md5sum "9d23919999d6eac9217d1f41472034a9">
10<!ENTITY unzip-size "1.1 MB">
11<!ENTITY unzip-buildsize "7.2 MB">
12<!ENTITY unzip-time "0.09 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<indexterm zone="unzip">
23<primary sortas="a-UnZip">UnZip</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>UnZip</application></title>
27
28<para>The <application>UnZip</application> package contains
29<filename>ZIP</filename> extraction utilities. These are useful for extracting
30files from <filename>ZIP</filename> archives. <filename>ZIP</filename> archives
31are created with <application>PKZIP</application> or
32<application>Info-ZIP</application> utilities primarily in a
33<acronym>DOS</acronym> environment.
34</para>
35
36<sect3><title>Package information</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Download (HTTP): <ulink
39url="&unzip-download-http;"/></para></listitem>
40<listitem><para>Download (FTP): <ulink
41url="&unzip-download-ftp;"/></para></listitem>
42<listitem><para>Download MD5 sum: &unzip-md5sum;</para></listitem>
43<listitem><para>Download size: &unzip-size;</para></listitem>
44<listitem><para>Estimated disk space required:
45&unzip-buildsize;</para></listitem>
46<listitem><para>Estimated build time:
47&unzip-time;</para></listitem></itemizedlist>
48</sect3>
49
50<sect3><title>Additional downloads</title>
51<itemizedlist spacing='compact'>
52<listitem><para>Required Patch: <ulink
53url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para>
54</listitem>
55<listitem><para>Required Patch: <ulink
56url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
57</listitem>
58<listitem><para>Recommended Patch: <ulink
59url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
60</listitem></itemizedlist>
61</sect3>
62
63</sect2>
64
65<sect2>
66<title>Installation of <application>UnZip</application></title>
67
68<para>Install <application>UnZip</application> by running the following
69commands:</para>
70
71<screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &amp;&amp;
72patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &amp;&amp;
73patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &amp;&amp;
74cp unix/Makefile . &amp;&amp;
75make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux &amp;&amp;
76make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz</command></userinput></screen>
77
78<para>Now, as the root user:</para>
79
80<screen><userinput role='root'><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install &amp;&amp;
81cp -v -d libunzip.so* /usr/lib</command></userinput></screen>
82
83</sect2>
84
85<sect2>
86<title>Command explanations</title>
87
88<para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
89This command overrides the <varname>prefix</varname> variable that is
90set to <filename class="directory">/usr/local</filename> in the
91<filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
92environment variable to instruct <application>UnZip</application> to use
93the shrinking algorithm based on the <acronym>LZW</acronym> compression
94algorithm, and builds the executables for a Linux system.
95The alternatives to 'linux' can be seen with a
96<command>make list</command> command.</para>
97
98<para><command>make ... linux_shlibz</command>: Build shared
99<filename>libunzip</filename> and link <application>UnZip</application> against
100it and <application>zlib</application>.</para>
101
102</sect2>
103
104<sect2>
105<title>Contents</title>
106
107<segmentedlist>
108<segtitle>Installed Programs</segtitle>
109<segtitle>Installed Library</segtitle>
110<segtitle>Installed Directories</segtitle>
111
112<seglistitem>
113<seg>funzip, unzip, unzipfsx, zipgrep and zipinfo</seg>
114<seg>libunzip.so</seg>
115<seg>None</seg>
116</seglistitem>
117</segmentedlist>
118
119<variablelist>
120<bridgehead renderas="sect3">Short Descriptions</bridgehead>
121<?dbfo list-presentation="list"?>
122
123<varlistentry id="funzip">
124<term><command>funzip</command></term>
125<listitem><para>allows the output of <command>unzip</command> commands to be
126redirected.</para>
127<indexterm zone="unzip funzip">
128<primary sortas="b-funzip">funzip</primary>
129</indexterm></listitem>
130</varlistentry>
131
132<varlistentry id="unzip-prog">
133<term><command>unzip</command></term>
134<listitem><para>lists, tests or extracts files from a <filename>ZIP</filename>
135archive.</para>
136<indexterm zone="unzip unzip-prog">
137<primary sortas="b-unzip">unzip</primary>
138</indexterm></listitem>
139</varlistentry>
140
141<varlistentry id="unzipfsx">
142<term><command>unzipfsx</command></term>
143<listitem><para>is a self-extracting stub that can be prepended to a
144<filename>ZIP</filename> archive. Files in this format allow the recipient to
145decompress the archive without installing
146<application>UnZip</application>.</para>
147<indexterm zone="unzip unzipfsx">
148<primary sortas="b-unzipfsx">unzipfsx</primary>
149</indexterm></listitem>
150</varlistentry>
151
152<varlistentry id="zipgrep">
153<term><command>zipgrep</command></term>
154<listitem><para>searches files in a <filename>ZIP</filename> archive for
155lines matching a pattern.</para>
156<indexterm zone="unzip zipgrep">
157<primary sortas="b-zipgrep">zipgrep</primary>
158</indexterm></listitem>
159</varlistentry>
160
161<varlistentry id="zipinfo">
162<term><command>zipinfo</command></term>
163<listitem><para>produces technical information about the files in a
164<filename>ZIP</filename> archive, including file access permissions,
165encryption status, type of compression, etc.</para>
166<indexterm zone="unzip zipinfo">
167<primary sortas="b-zipinfo">zipinfo</primary>
168</indexterm></listitem>
169</varlistentry>
170
171<varlistentry id="libunzip">
172<term><filename class='libraryfile'>libunzip.so</filename></term>
173<listitem><para>contains the <acronym>API</acronym> functions required by the
174<application>UnZip</application> programs.</para>
175<indexterm zone="unzip libunzip">
176<primary sortas="c-libunzip">libunzip.so</primary>
177</indexterm></listitem>
178</varlistentry>
179</variablelist>
180
181</sect2>
182
183</sect1>
Note: See TracBrowser for help on using the repository browser.