ArticleslgStudy

computer science

Info-ZIP

Info-ZIP is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Info-ZIP rather than just read about it. In short: Info-ZIP is a set of open-source software to handle ZIP archives. It has been in circulation since 1989.

Key takeaways

  • Info-ZIP belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Info-ZIP to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Info-ZIP from memory before moving on to harder problems.

Reference excerpt

Info-ZIP is a set of open-source software to handle ZIP archives. It has been in circulation since 1989. It consists of 4 separately-installable packages: the Zip and UnZip command-line utilities; and WiZ and MacZip, which are graphical user interfaces for archiving programs in Microsoft Windows and classic Mac OS, respectively. Info-ZIP's Zip and UnZip have been ported to dozens of computing platforms. The UnZip web page describes UnZip as "The Third Most Portable Program in the World", surpassed by Hello World, C-Kermit, and possibly the Linux kernel. The "zip" and "unzip" programs included with most Linux and Unix distributions are Info-ZIP's Zip and UnZip. In addition to the Info-ZIP releases themselves, parts of Info-ZIP, including zlib, have been used in numerous other file archivers and other programs. Many Info-ZIP programmers have also been involved in other projects closely related to the DEFLATE compression algorithm, such as the PNG image format and the zlib software library.

Features The UnZip package also includes three additional utilities:

fUnZip extracts a file in a ZIP or gzip file directly to output from archives or other piped input. UnZipSFX is software to make a ZIP file into an executable self-extracting archive. ZipInfo outputs, in a variety of formats, information about ZIP files and their contents. The Zip package includes three additional utilities:

ZipCloak adds or removes password encryption from file in a ZIP archive. ZipNote allows the modification of comment fields in ZIP archives. ZipSplit splits a ZIP archive into sections for separate disks or downloads.

History

UnZip UnZip 1.0 (March 1989) was released by Samuel H. Smith. It was written in Pascal and C. Pascal was abandoned soon after. UnZip 2.0 (September 1989) was released by Samuel H. Smith. It included support for the "unimploding" (method 6) introduced by PKZIP 1.01. George Sipe created Unix version. UnZip 2.0a (December 1989) was released by Carl Mascott and John Cowan. In Spring 1990, Info-ZIP was formed as a mailing list on SIMTEL20, and released UnZip 3.0 (May 1990) became the first public release by Info-ZIP group. UnZip 4.0 (December 1990) adds support of "central directory" within .ZIP archive. UnZip 5.0 (August 1992) introduces support of DEFLATE (method 8) compression method, used in PKZIP 1.93a. Method 8 has become the de facto base standard for ZIP archives. In 1994 and 1995 Info-ZIP turned a corner, and effectively became the de facto ZIP program on non-MS-DOS systems. A huge number of ports were released that year, including numerous minicomputers, mainframes and practically every microcomputer ever developed. UnZip 5.41 (April 2000) was relicensed under Info-ZIP License. UnZip 5.50 (February 2002) adds support of Deflate64 (method 9) decompression. UnZip 6.0 adds support of "Zip64" .ZIP archive and bzip2 (method 12) decompression. Support for bzip2-style compression was also in Zip from 3.0f beta.

Zip Zip 1.9 (August 1992) introduces support of DEFLATE (method 8) compression method. Method 8 has become the de facto base standard for ZIP archives. Zip 2.0 (September 1993) has many portability improvements. Zip 2.1 (May 1996) added new "UNIX" time info to preserve file times across timezones and OSes. Zip 2.3 (December 1999) was the first Info-ZIP archiver tool under the new BSD-like Info-ZIP License. Zip 3.0 (2008-07-07) supports "Zip64" .ZIP archive, more than 65536 files per archive, multi-part archive, bzip2 compression, Unicode (UTF-8) filename and (partial) comment, Unix 32-bit UIDs/GIDs

WiZ WiZ 4.0 (November 1997) was released by Info-ZIP. WiZ 5.01 (April 2000) was relicensed under Info-ZIP License.

MacZip MacZip 1.05 (July 2000) was released under Info-ZIP License. MacZip 1.06 was released in February 2001. It was written by Dirk Hasse.

Forks and patches As a slowly-updated open software package, many patches have been written by various Linux distributions to improve info-zip tools. In addition, from 2015 to 2019, 14 unzip vulnerabilities have been published on the CVE list without version or website updates from info-zip. (Three CVEs from 2014 in oCERT-2014-011 are left out of most statistics; info-zip did provide patches on their now-defunct forum.) Mark Adler has a set of patches for unzip 6.0 that detects zip bombs of the overlapping type. This issue has a CVE ID of CVE-2019-13232. The Debian project provides various patches to correct typographical errors and security issues, including the 17 unzip CVEs. It also hardens against format string injection and other obvious security issues. To deal with pre-UTF-8 Zip files created on other code pages, Giovanni Scafora created a patch that hooks unzip up with iconv for encoding conversion. A version of the patch combined with CVE mitigations are provided as a User Package in Arch Linux. The Gentoo project improves upon the hard-coded locales with an external libnatspec library. A similar approach has been used for Ubuntu as well. The Fedora project (an upstream of Red Hat Enterprise Linux) applies Adler's patch, most of the Debian patches (or similar), as well as extra security patches like a stack non-execution patch to their unzip. The zip patches are similar to Debian patches.

Official betas Some official improvements to zip and unzip are stuck in beta-stage as zip 3.1c and unzip 6.10b from 2015. Among other things, both added support for PPMd8 and LZMA compressions in .zipx files, support for AES encryption, and included iconv-based Unicode improvements (based on unzip-iconv). A newer release candidate, Zip 3.1d, appeared on the official FTP site in 2015, but the SourceForge page was not updated. Partially due to the added compressors, the zipped file size increased from 1.4 MB (3.1c) to 2.9 MB (3.1d). The antinode.info FTP site seems to be hosting an even more cutting-edge source of info-zip utilities. Individual revisions are organized into folders containing files differing from the previous revision, and zip archives for sources are occasionally released. As of May 2023, the site provides Unzip 6.10c (rev. 25, 21 Dec 2018) and a loose-file development version of Zip 3.1e (rev. 21, 14 Dec 2021). The owner of the site, Steven Schweda, maintains these versions. Schweda is a member of the original info-zip team.

Replacements FreeBSD has opted to replace info-zip utilities. It produces a command-line compatible version of unzip based on libarchive, which also supports zipx and AES.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Info-ZIP

Start with the simplest possible case. Write down what Info-ZIP claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Info-ZIP before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Info-ZIP ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Info-ZIP

In research
Info-ZIP appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Info-ZIP in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Info-ZIP is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1989 software, Cross-platform free software, File archivers, so understanding it makes those chapters shorter.
In everyday life
Look for Info-ZIP outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Info-ZIP” →

How to study Info-ZIP in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Info-ZIP means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Info-ZIP out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Info-ZIP in simple terms?

Info-ZIP is a set of open-source software to handle ZIP archives. It has been in circulation since 1989.

Why does Info-ZIP matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Info-ZIP?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Info-ZIP.

Tags

  • 1989 software
  • Cross-platform free software
  • File archivers
  • Free data compression software
  • Software using the BSD license
  • Unix archivers and compression-related utilities

Keep exploring