[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>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>UnZip-&unzip-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="unzip">
|
---|
| 26 | <primary sortas="a-UnZip">UnZip</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to UnZip</title>
|
---|
| 31 |
|
---|
[539ace5] | 32 | <para>The <application>UnZip</application> package contains
|
---|
[9c90b1b] | 33 | <filename>ZIP</filename> extraction utilities. These are useful for
|
---|
| 34 | extracting files from <filename>ZIP</filename> archives.
|
---|
| 35 | <filename>ZIP</filename> archives are created with
|
---|
| 36 | <application>PKZIP</application> or <application>Info-ZIP</application>
|
---|
| 37 | utilities, primarily in a DOS environment.</para>
|
---|
| 38 |
|
---|
| 39 | <caution>
|
---|
| 40 | <para>The <application>UnZip</application> package has some locale
|
---|
| 41 | related issues. For a full explanation of the issues and some possible
|
---|
| 42 | solutions, see the <xref linkend="locale-unzip"/> section of the
|
---|
| 43 | <xref linkend="locale-issues"/>.</para>
|
---|
| 44 | </caution>
|
---|
[c88ffaa] | 45 |
|
---|
| 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (HTTP): <ulink url="&unzip-download-http;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download (FTP): <ulink url="&unzip-download-ftp;"/></para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download MD5 sum: &unzip-md5sum;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Download size: &unzip-size;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated disk space required: &unzip-buildsize;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Estimated build time: &unzip-time;</para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
[1039de3] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/unzip"/></para>
|
---|
| 70 |
|
---|
[c88ffaa] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of UnZip</title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>UnZip</application> by running the following
|
---|
| 77 | commands:</para>
|
---|
| 78 |
|
---|
[6473e74] | 79 | <screen><userinput>make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux</userinput></screen>
|
---|
[c88ffaa] | 80 |
|
---|
[bccbdaea] | 81 | <para>To test the results, issue: <command>LD_LIBRARY_PATH=$PWD
|
---|
[c88ffaa] | 82 | make check</command>.</para>
|
---|
| 83 |
|
---|
| 84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 85 |
|
---|
[f2dd0043] | 86 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[c88ffaa] | 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
[cdbfae1b] | 93 | <para><parameter>linux</parameter>:
|
---|
| 94 | This target in the <filename>Makefile</filename> makes assumptions
|
---|
| 95 | that are useful for a Linux system when compiling the executables.
|
---|
| 96 | To obtain alternatives to this target, use <command>make list</command></para>
|
---|
| 97 |
|
---|
| 98 | <para><parameter>LOCAL_UNZIP=...</parameter>:
|
---|
| 99 | This sets the compilation flags to allow <application>UnZip</application>
|
---|
| 100 | to handle files upto 4 GB.</para>
|
---|
[c88ffaa] | 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="content">
|
---|
| 105 | <title>Contents</title>
|
---|
| 106 |
|
---|
| 107 | <segmentedlist>
|
---|
| 108 | <segtitle>Installed Programs</segtitle>
|
---|
| 109 | <segtitle>Installed Library</segtitle>
|
---|
| 110 | <segtitle>Installed Directories</segtitle>
|
---|
| 111 |
|
---|
| 112 | <seglistitem>
|
---|
| 113 | <seg>funzip, unzip, unzipfsx, zipgrep, and zipinfo</seg>
|
---|
| 114 | <seg>libunzip.so</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | </seglistitem>
|
---|
| 117 | </segmentedlist>
|
---|
| 118 |
|
---|
| 119 | <variablelist>
|
---|
| 120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 121 | <?dbfo list-presentation="list"?>
|
---|
| 122 | <?dbhtml list-presentation="table"?>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="funzip">
|
---|
| 125 | <term><command>funzip</command></term>
|
---|
| 126 | <listitem>
|
---|
[539ace5] | 127 | <para>allows the output of <command>unzip</command> commands to be
|
---|
[c88ffaa] | 128 | redirected.</para>
|
---|
| 129 | <indexterm zone="unzip funzip">
|
---|
| 130 | <primary sortas="b-funzip">funzip</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="unzip-prog">
|
---|
| 136 | <term><command>unzip</command></term>
|
---|
| 137 | <listitem>
|
---|
[0619e6d] | 138 | <para>lists, tests or extracts files from a <filename>ZIP</filename>
|
---|
[c88ffaa] | 139 | archive.</para>
|
---|
| 140 | <indexterm zone="unzip unzip-prog">
|
---|
| 141 | <primary sortas="b-unzip">unzip</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="unzipfsx">
|
---|
| 147 | <term><command>unzipfsx</command></term>
|
---|
| 148 | <listitem>
|
---|
[539ace5] | 149 | <para>is a self-extracting stub that can be prepended to a
|
---|
[9c90b1b] | 150 | <filename>ZIP</filename> archive. Files in this format allow the
|
---|
| 151 | recipient to decompress the archive without installing
|
---|
[c88ffaa] | 152 | <application>UnZip</application>.</para>
|
---|
| 153 | <indexterm zone="unzip unzipfsx">
|
---|
| 154 | <primary sortas="b-unzipfsx">unzipfsx</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="zipgrep">
|
---|
| 160 | <term><command>zipgrep</command></term>
|
---|
| 161 | <listitem>
|
---|
[539ace5] | 162 | <para>searches files in a <filename>ZIP</filename> archive for
|
---|
[c88ffaa] | 163 | lines matching a pattern.</para>
|
---|
| 164 | <indexterm zone="unzip zipgrep">
|
---|
| 165 | <primary sortas="b-zipgrep">zipgrep</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="zipinfo">
|
---|
| 171 | <term><command>zipinfo</command></term>
|
---|
| 172 | <listitem>
|
---|
[539ace5] | 173 | <para>produces technical information about the files in a
|
---|
| 174 | <filename>ZIP</filename> archive, including file access permissions,
|
---|
[c88ffaa] | 175 | encryption status, type of compression, etc.</para>
|
---|
| 176 | <indexterm zone="unzip zipinfo">
|
---|
| 177 | <primary sortas="b-zipinfo">zipinfo</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="libunzip">
|
---|
| 183 | <term><filename class='libraryfile'>libunzip.so</filename></term>
|
---|
| 184 | <listitem>
|
---|
[539ace5] | 185 | <para>contains the API functions required by the
|
---|
[c88ffaa] | 186 | <application>UnZip</application> programs.</para>
|
---|
| 187 | <indexterm zone="unzip libunzip">
|
---|
| 188 | <primary sortas="c-libunzip">libunzip.so</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | </variablelist>
|
---|
| 194 |
|
---|
| 195 | </sect2>
|
---|
[f45b1953] | 196 |
|
---|
| 197 | </sect1>
|
---|