[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c88ffaa] | 7 | <!ENTITY unzip-download-http "http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz">
|
---|
[9c90b1b] | 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">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[5c5cdbc] | 15 | <sect1 id="unzip" xreflabel="UnZip-&unzip-version;">
|
---|
[c88ffaa] | 16 | <?dbhtml filename="unzip.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[56762b82] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">unzip-&unzip-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">unzip</keyword>
|
---|
[56762b82] | 24 | </keywordset>
|
---|
[c88ffaa] | 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 |
|
---|
[539ace5] | 36 | <para>The <application>UnZip</application> package contains
|
---|
[9c90b1b] | 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>
|
---|
[c88ffaa] | 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 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of UnZip</title>
|
---|
| 76 |
|
---|
| 77 | <para>Install <application>UnZip</application> by running the following
|
---|
| 78 | commands:</para>
|
---|
| 79 |
|
---|
[6473e74] | 80 | <screen><userinput>make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux</userinput></screen>
|
---|
[c88ffaa] | 81 |
|
---|
[bccbdaea] | 82 | <para>To test the results, issue: <command>LD_LIBRARY_PATH=$PWD
|
---|
[c88ffaa] | 83 | make check</command>.</para>
|
---|
| 84 |
|
---|
| 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
[f2dd0043] | 87 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[c88ffaa] | 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="commands">
|
---|
| 92 | <title>Command Explanations</title>
|
---|
| 93 |
|
---|
[cdbfae1b] | 94 | <para><parameter>linux</parameter>:
|
---|
| 95 | This target in the <filename>Makefile</filename> makes assumptions
|
---|
| 96 | that are useful for a Linux system when compiling the executables.
|
---|
| 97 | To obtain alternatives to this target, use <command>make list</command></para>
|
---|
| 98 |
|
---|
| 99 | <para><parameter>LOCAL_UNZIP=...</parameter>:
|
---|
| 100 | This sets the compilation flags to allow <application>UnZip</application>
|
---|
| 101 | to handle files upto 4 GB.</para>
|
---|
[c88ffaa] | 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Library</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>funzip, unzip, unzipfsx, zipgrep, and zipinfo</seg>
|
---|
| 115 | <seg>libunzip.so</seg>
|
---|
| 116 | <seg>None</seg>
|
---|
| 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="funzip">
|
---|
| 126 | <term><command>funzip</command></term>
|
---|
| 127 | <listitem>
|
---|
[539ace5] | 128 | <para>allows the output of <command>unzip</command> commands to be
|
---|
[c88ffaa] | 129 | redirected.</para>
|
---|
| 130 | <indexterm zone="unzip funzip">
|
---|
| 131 | <primary sortas="b-funzip">funzip</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="unzip-prog">
|
---|
| 137 | <term><command>unzip</command></term>
|
---|
| 138 | <listitem>
|
---|
[0619e6d] | 139 | <para>lists, tests or extracts files from a <filename>ZIP</filename>
|
---|
[c88ffaa] | 140 | archive.</para>
|
---|
| 141 | <indexterm zone="unzip unzip-prog">
|
---|
| 142 | <primary sortas="b-unzip">unzip</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="unzipfsx">
|
---|
| 148 | <term><command>unzipfsx</command></term>
|
---|
| 149 | <listitem>
|
---|
[539ace5] | 150 | <para>is a self-extracting stub that can be prepended to a
|
---|
[9c90b1b] | 151 | <filename>ZIP</filename> archive. Files in this format allow the
|
---|
| 152 | recipient to decompress the archive without installing
|
---|
[c88ffaa] | 153 | <application>UnZip</application>.</para>
|
---|
| 154 | <indexterm zone="unzip unzipfsx">
|
---|
| 155 | <primary sortas="b-unzipfsx">unzipfsx</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="zipgrep">
|
---|
| 161 | <term><command>zipgrep</command></term>
|
---|
| 162 | <listitem>
|
---|
[539ace5] | 163 | <para>searches files in a <filename>ZIP</filename> archive for
|
---|
[c88ffaa] | 164 | lines matching a pattern.</para>
|
---|
| 165 | <indexterm zone="unzip zipgrep">
|
---|
| 166 | <primary sortas="b-zipgrep">zipgrep</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="zipinfo">
|
---|
| 172 | <term><command>zipinfo</command></term>
|
---|
| 173 | <listitem>
|
---|
[539ace5] | 174 | <para>produces technical information about the files in a
|
---|
| 175 | <filename>ZIP</filename> archive, including file access permissions,
|
---|
[c88ffaa] | 176 | encryption status, type of compression, etc.</para>
|
---|
| 177 | <indexterm zone="unzip zipinfo">
|
---|
| 178 | <primary sortas="b-zipinfo">zipinfo</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="libunzip">
|
---|
| 184 | <term><filename class='libraryfile'>libunzip.so</filename></term>
|
---|
| 185 | <listitem>
|
---|
[539ace5] | 186 | <para>contains the API functions required by the
|
---|
[c88ffaa] | 187 | <application>UnZip</application> programs.</para>
|
---|
| 188 | <indexterm zone="unzip libunzip">
|
---|
| 189 | <primary sortas="c-libunzip">libunzip.so</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
[f45b1953] | 197 |
|
---|
| 198 | </sect1>
|
---|