# Install libzzip with Homebrew, MacPorts

Library providing read access on ZIP-archives. Version 0.13.80 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libzzip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libzzip
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libzzip
```

  Evidence: MacPorts ports tree: archivers/libzzip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:libzzip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libzzip>
- **Version:** 0.13.80
- **Source summary:** Library providing read access on ZIP-archives
- **Homepage:** <https://github.com/gdraheim/zziplib>
- **Repository:** <https://github.com/gdraheim/zziplib>
- **Upstream docs:** <https://github.com/gdraheim/zziplib#readme>
- **License:** LGPL-2.0-or-later OR MPL-1.1
- **Source archive:** <https://github.com/gdraheim/zziplib/archive/refs/tags/v0.13.80.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- unzip-mem (cli)
- unzzip (cli)
- unzzip-big (cli)
- unzzip-mem (cli)
- unzzip-mix (cli)
- zzcat (cli)
- zzdir (cli)
- zzxorcat (cli)
- zzxorcopy (cli)
- zzxordir (cli)
- unzip-mem (alias)
- unzzip (alias)
- unzzip-big (alias)
- unzzip-mem (alias)
- unzzip-mix (alias)
- zzcat (alias)
- zzdir (alias)
- zzxorcat (alias)
- zzxorcopy (alias)
- zzxordir (alias)

## Build dependencies

- cmake
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.13.80
- Local data: ok
- Upstream repository: https://github.com/gdraheim/zziplib
- Upstream latest detected: v0.13.80 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

ZZIPlib is a lightweight C library for read access to ZIP archives and unpacked data, best known for POSIX-shaped zzip_ functions that can make zipped resources look file-like to an application.

### Project history

The official history says Guido Draheim developed zziplib from Tomi Ollila's zip08x work. The API documentation says Draheim picked up Ollila's ZIP decoder routines and wrapped them with call signatures resembling POSIX file APIs, so zzip_open has the same general shape as open(2) but can open zipped files.

The SourceForge documentation dates the ZIP access page to June 1, 2000 and the programmer interface page to July 20, 2002. The project page notes that it was later hosted on GitHub, and the GitHub repository summary says the project originated in 1999, was adopted by Guido Draheim in 2000, and moved to GitHub in 2017 for easier collaboration.

### Adoption history

zziplib found its niche in applications that wanted to bundle many read-only resource files into a single ZIP while keeping code close to ordinary file and directory access. The documentation explicitly names game and graphics application developers as requesters of extension and custom I/O support.

Its model is intentionally narrower than full ZIP tools: applications can create archives with ordinary zip/unzip utilities and then ship zziplib only for final read access. That made it attractive for packaged games, resource archives, and embedded or portable software where a small zlib-based reader was enough.

### How it is used

Developers can call direct ZIP APIs such as zzip_dir_open and zzip_file_open, or use magic wrappers such as zzip_open, zzip_read, and zzip_close. The extension I/O layer lets applications recognize ZIP-derived formats such as JAR or game-resource extensions and route reads through custom handlers.

### Why package nerds care

ZZIPlib is interesting because it captures an old packaging trick: ship assets as ZIP files but let code pretend they are files. The LGPL/MPL licensing, zlib dependency, POSIX-like API, SDL-oriented examples, and odd collection of small tools make it a very package-nerd archive library.

### Timeline

- 1999: Tomi Ollila explored ZIP decoder routines that became part of zziplib's ancestry.
- 2000-06-01: The zziplib ZIP access documentation was created.
- 2002-04: Ollila gave up remaining zip08x copyright restrictions and pointed the zip08x README to zziplib, according to the project history.
- 2002-07-20: The programmer interface documentation described zzip_open and related POSIX-like APIs.
- 2017: The project moved to GitHub for collaboration.

### Related projects

- zziplib depends on zlib for decompression and sits near Info-ZIP, PKWARE ZIP specifications, zipios++, SDL resource-loading examples, Java JAR files, Quake PK3 files, and OpenOffice or StarOffice ZIP-based document formats.

### Sources

- <https://github.com/gdraheim/zziplib>
- <https://zziplib.sourceforge.net/history.html>
- <https://zziplib.sourceforge.net/zzip-api.html>
- <https://zziplib.sourceforge.net/zzip-extio.html>
- <https://zziplib.sourceforge.net/zzip-zip.html>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libzzip
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- MacPorts - libzzip: normalized package name match | MacPorts ports tree: archivers/libzzip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libzip](https://www.automicvault.com/pkg/brew/libzip/) - Shares av.db curated category or tags: archive, cli, library, system, zip.
- [pax](https://www.automicvault.com/pkg/brew/pax/) - Shares av.db curated category or tags: archive, cli, system.
- [ouch](https://www.automicvault.com/pkg/brew/ouch/) - Shares av.db curated category or tags: archive, cli, system.
- [star](https://www.automicvault.com/pkg/brew/star/) - Shares av.db curated category or tags: archive, cli, system.
- [wimlib](https://www.automicvault.com/pkg/brew/wimlib/) - Shares av.db curated category or tags: archive, cli, library, system.
- [afio](https://www.automicvault.com/pkg/brew/afio/) - Shares av.db curated category or tags: archive, cli, system.
- [archivemount](https://www.automicvault.com/pkg/brew/archivemount/) - Shares av.db curated category or tags: archive, cli, system.
- [augeas](https://www.automicvault.com/pkg/brew/augeas/) - Shares av.db curated category or tags: cli, library, system.

## Combined YAML source

View the package source record on GitHub. [combined/libzzip.yml](https://github.com/automic-vault/db/blob/main/combined/libzzip.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
