source: general/sysutils/unzip.xml@ 1ae85332

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 1ae85332 was 1ae85332, checked in by Igor Živković <igor@…>, 20 years ago

Added shrink compression method to UnZip.

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

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