source: general/sysutils/unzip.xml@ 014d11ad

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 014d11ad was 014d11ad, checked in by Randy McMurchy <randy@…>, 20 years ago

renamed patches in package instructions to conform with the guidelines

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

  • Property mode set to 100644
File size: 4.7 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></listitem><listitem><para>Required patch: <ulink
46url="&patch-root;/unzip-&unzip-version;-fix_libz-1.patch"/></para></listitem>
47<listitem><para>Recommended patch: <ulink
48url="&patch-root;/unzip-&unzip-version;-dont_make_noise-1.patch"/></para></listitem></itemizedlist>
49</sect3>
50
51</sect2>
52
53<sect2>
54<title>Installation of <application>UnZip</application></title>
55
56<para>By default, <application>UnZip</application> does not support shrink
57decompression. To enable it or to obtain more information, check out the
58<application>UnZip</application> <acronym>FAQ</acronym> at
59<ulink url="http://www.info-zip.org/pub/infozip/FAQ.html#unshrink"/>.</para>
60
61<para>Install <application>UnZip</application> by running the following
62commands:</para>
63
64<screen><userinput><command>patch -Np1 -i ../unzip-&unzip-version;-fix_Makefile-1.patch &amp;&amp;
65patch -Np1 -i ../unzip-&unzip-version;-fix_libz-1.patch &amp;&amp;
66patch -Np1 -i ../unzip-&unzip-version;-dont_make_noise-1.patch &amp;&amp;
67cp unix/Makefile . &amp;&amp;
68make prefix=/usr linux &amp;&amp;
69make prefix=/usr linux_shlibz &amp;&amp;
70make prefix=/usr install &amp;&amp;
71cp -a libunzip.so* /usr/lib</command></userinput></screen>
72
73</sect2>
74
75<sect2>
76<title>Command explanations</title>
77
78<para><command>make prefix=/usr linux</command>: This command
79overrides the prefix variable that is set to
80<filename class='directory'>/usr/local</filename> in the
81<filename>Makefile</filename>
82and builds the executables for a linux system. The alternatives to
83'linux' can be seen with a 'make list' command.</para>
84
85<para><command>make prefix=/usr linux_shlibz</command>: Build shared
86<filename>libunzip</filename> and link <application>UnZip</application> against
87it and <application>zlib</application>.</para>
88
89</sect2>
90
91<sect2>
92<title>Contents</title>
93
94<para>The <application>UnZip</application> package contains <command>unzip
95</command>, <command>funzip</command>, <command>unzipfsx</command>,
96<command>zipgrep</command> and <command>zipinfo</command>.</para>
97
98</sect2>
99
100<sect2><title>Description</title>
101
102<sect3><title>unzip</title>
103<para><command>unzip</command> lists, tests or extracts files from a
104<filename>ZIP</filename> archive.</para></sect3>
105
106<sect3><title>funzip</title>
107<para><command>funzip</command> allows the output of <command>unzip</command>
108commands to be redirected.</para></sect3>
109
110<sect3><title>unzipfsx</title>
111<para><command>unzipfsx</command> is the self-extracting stub that can be
112prepended to a <filename>ZIP</filename> archive. Files in this format allow
113the recipient to decompress the archive without installing
114<application>UnZip</application>.</para></sect3>
115
116<sect3><title>zipgrep</title>
117<para><command>zipgrep</command> is a grep for <filename>ZIP</filename>
118archives.</para></sect3>
119
120<sect3><title>zipinfo</title>
121<para><command>zipinfo</command> produces technical information about the files
122in a <filename>ZIP</filename> archive, including file access permissions,
123encryption status, type of compression, etc.</para></sect3>
124
125</sect2>
126
127</sect1>
Note: See TracBrowser for help on using the repository browser.