source: general/sysutils/unzip.xml@ 4a8e9f7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4a8e9f7 was 4a8e9f7, checked in by Igor Živković <igor@…>, 20 years ago

Updated to Firefox-1.0.2.

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

  • Property mode set to 100644
File size: 6.4 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.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>To test the results, issue: <command>/sbin/ldconfig $PWD &amp;&amp; make check</command>.</para>
79
80<para>Now, as the root user:</para>
81
82<screen><userinput role='root'><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK install &amp;&amp;
83cp -v -d libunzip.so* /usr/lib</command></userinput></screen>
84
85</sect2>
86
87<sect2>
88<title>Command explanations</title>
89
90<para><command>make prefix=/usr LOCAL_UNZIP=-DUSE_UNSHRINK linux</command>:
91This command overrides the <varname>prefix</varname> variable that is
92set to <filename class="directory">/usr/local</filename> in the
93<filename>Makefile</filename>, sets the <envar>LOCAL_UNZIP</envar>
94environment variable to instruct <application>UnZip</application> to use
95the shrinking algorithm based on the <acronym>LZW</acronym> compression
96algorithm, and builds the executables for a Linux system.
97The alternatives to 'linux' can be seen with a
98<command>make list</command> command.</para>
99
100<para><command>make ... linux_shlibz</command>: Build shared
101<filename>libunzip</filename> and link <application>UnZip</application> against
102it and <application>zlib</application>.</para>
103
104</sect2>
105
106<sect2>
107<title>Contents</title>
108
109<segmentedlist>
110<segtitle>Installed Programs</segtitle>
111<segtitle>Installed Library</segtitle>
112<segtitle>Installed Directories</segtitle>
113
114<seglistitem>
115<seg>funzip, unzip, unzipfsx, zipgrep and zipinfo</seg>
116<seg>libunzip.so</seg>
117<seg>None</seg>
118</seglistitem>
119</segmentedlist>
120
121<variablelist>
122<bridgehead renderas="sect3">Short Descriptions</bridgehead>
123<?dbfo list-presentation="list"?>
124
125<varlistentry id="funzip">
126<term><command>funzip</command></term>
127<listitem><para>allows the output of <command>unzip</command> commands to be
128redirected.</para>
129<indexterm zone="unzip funzip">
130<primary sortas="b-funzip">funzip</primary>
131</indexterm></listitem>
132</varlistentry>
133
134<varlistentry id="unzip-prog">
135<term><command>unzip</command></term>
136<listitem><para>lists, tests or extracts files from a <filename>ZIP</filename>
137archive.</para>
138<indexterm zone="unzip unzip-prog">
139<primary sortas="b-unzip">unzip</primary>
140</indexterm></listitem>
141</varlistentry>
142
143<varlistentry id="unzipfsx">
144<term><command>unzipfsx</command></term>
145<listitem><para>is a self-extracting stub that can be prepended to a
146<filename>ZIP</filename> archive. Files in this format allow the recipient to
147decompress the archive without installing
148<application>UnZip</application>.</para>
149<indexterm zone="unzip unzipfsx">
150<primary sortas="b-unzipfsx">unzipfsx</primary>
151</indexterm></listitem>
152</varlistentry>
153
154<varlistentry id="zipgrep">
155<term><command>zipgrep</command></term>
156<listitem><para>searches files in a <filename>ZIP</filename> archive for
157lines matching a pattern.</para>
158<indexterm zone="unzip zipgrep">
159<primary sortas="b-zipgrep">zipgrep</primary>
160</indexterm></listitem>
161</varlistentry>
162
163<varlistentry id="zipinfo">
164<term><command>zipinfo</command></term>
165<listitem><para>produces technical information about the files in a
166<filename>ZIP</filename> archive, including file access permissions,
167encryption status, type of compression, etc.</para>
168<indexterm zone="unzip zipinfo">
169<primary sortas="b-zipinfo">zipinfo</primary>
170</indexterm></listitem>
171</varlistentry>
172
173<varlistentry id="libunzip">
174<term><filename class='libraryfile'>libunzip.so</filename></term>
175<listitem><para>contains the <acronym>API</acronym> functions required by the
176<application>UnZip</application> programs.</para>
177<indexterm zone="unzip libunzip">
178<primary sortas="c-libunzip">libunzip.so</primary>
179</indexterm></listitem>
180</varlistentry>
181</variablelist>
182
183</sect2>
184
185</sect1>
Note: See TracBrowser for help on using the repository browser.