source: general/sysutils/unzip.xml@ 9c90b1b

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 9c90b1b was 9c90b1b, checked in by Randy McMurchy <randy@…>, 16 years ago

Added new section 'Locale Related Issues' to Chapter 2, 'Important Information', thanks to Alexander Patrakov for contributing the text for this page

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

  • Property mode set to 100644
File size: 7.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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.1 SBU">
13]>
14
15<sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
16 <?dbhtml filename="unzip.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">unzip-&unzip-version;.tar</keyword>
23 <keyword role="ftpdir">unzip</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>UnZip-&unzip-version;</title>
28
29 <indexterm zone="unzip">
30 <primary sortas="a-UnZip">UnZip</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to UnZip</title>
35
36 <para>The <application>UnZip</application> package contains
37 <filename>ZIP</filename> extraction utilities. These are useful for
38 extracting files from <filename>ZIP</filename> archives.
39 <filename>ZIP</filename> archives are created with
40 <application>PKZIP</application> or <application>Info-ZIP</application>
41 utilities, primarily in a DOS environment.</para>
42
43 <caution>
44 <para>The <application>UnZip</application> package has some locale
45 related issues. For a full explanation of the issues and some possible
46 solutions, see the <xref linkend="locale-unzip"/> section of the
47 <xref linkend="locale-issues"/>.</para>
48 </caution>
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>Download (HTTP): <ulink url="&unzip-download-http;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download (FTP): <ulink url="&unzip-download-ftp;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download MD5 sum: &unzip-md5sum;</para>
60 </listitem>
61 <listitem>
62 <para>Download size: &unzip-size;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated disk space required: &unzip-buildsize;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated build time: &unzip-time;</para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing='compact'>
74 <listitem>
75 <para>Required patch: <ulink
76 url="&patch-root;/unzip-&unzip-version;-fix_Makefile-1.patch"/></para>
77 </listitem>
78 <listitem>
79 <para>Required patch: <ulink
80 url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para>
81 </listitem>
82 <listitem>
83 <para>Recommended patch: <ulink
84 url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para>
85 </listitem>
86 </itemizedlist>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of UnZip</title>
92
93 <para>Install <application>UnZip</application> by running the following
94 commands:</para>
95
96<screen><userinput>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &amp;&amp;
97patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &amp;&amp;
98patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &amp;&amp;
99cp -v unix/Makefile . &amp;&amp;
100make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux &amp;&amp;
101make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux_shlibz</userinput></screen>
102
103 <para>To test the results, issue: <command>LD_LIBRARY_PATH=$PWD
104 make check</command>.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install &amp;&amp;
109cp -v -d libunzip.so* /usr/lib</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
117 This command overrides the <varname>prefix</varname> variable that is
118 set to <filename class="directory">/usr/local</filename> in the
119 <filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
120 environment variable to instruct <application>UnZip</application> to use
121 the shrinking algorithm based on the LZW compression
122 algorithm, and builds the executables for a Linux system.
123 The alternatives to 'linux' can be seen with a
124 <command>make list</command> command.</para>
125
126 <para><command>make ... linux_shlibz</command>: Build shared
127 <filename>libunzip</filename> and link <application>UnZip</application>
128 against it and <application>zlib</application>.</para>
129
130 </sect2>
131
132 <sect2 role="content">
133 <title>Contents</title>
134
135 <segmentedlist>
136 <segtitle>Installed Programs</segtitle>
137 <segtitle>Installed Library</segtitle>
138 <segtitle>Installed Directories</segtitle>
139
140 <seglistitem>
141 <seg>funzip, unzip, unzipfsx, zipgrep, and zipinfo</seg>
142 <seg>libunzip.so</seg>
143 <seg>None</seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="funzip">
153 <term><command>funzip</command></term>
154 <listitem>
155 <para>allows the output of <command>unzip</command> commands to be
156 redirected.</para>
157 <indexterm zone="unzip funzip">
158 <primary sortas="b-funzip">funzip</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="unzip-prog">
164 <term><command>unzip</command></term>
165 <listitem>
166 <para>lists, tests or extracts files from a <filename>ZIP</filename>
167 archive.</para>
168 <indexterm zone="unzip unzip-prog">
169 <primary sortas="b-unzip">unzip</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="unzipfsx">
175 <term><command>unzipfsx</command></term>
176 <listitem>
177 <para>is a self-extracting stub that can be prepended to a
178 <filename>ZIP</filename> archive. Files in this format allow the
179 recipient to decompress the archive without installing
180 <application>UnZip</application>.</para>
181 <indexterm zone="unzip unzipfsx">
182 <primary sortas="b-unzipfsx">unzipfsx</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="zipgrep">
188 <term><command>zipgrep</command></term>
189 <listitem>
190 <para>searches files in a <filename>ZIP</filename> archive for
191 lines matching a pattern.</para>
192 <indexterm zone="unzip zipgrep">
193 <primary sortas="b-zipgrep">zipgrep</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="zipinfo">
199 <term><command>zipinfo</command></term>
200 <listitem>
201 <para>produces technical information about the files in a
202 <filename>ZIP</filename> archive, including file access permissions,
203 encryption status, type of compression, etc.</para>
204 <indexterm zone="unzip zipinfo">
205 <primary sortas="b-zipinfo">zipinfo</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="libunzip">
211 <term><filename class='libraryfile'>libunzip.so</filename></term>
212 <listitem>
213 <para>contains the API functions required by the
214 <application>UnZip</application> programs.</para>
215 <indexterm zone="unzip libunzip">
216 <primary sortas="c-libunzip">libunzip.so</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 </variablelist>
222
223 </sect2>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.