macOS
brew install libziplocal Homebrew formula metadata
sudo port install libzipMacPorts ports tree · archivers/libzip/Portfile · source: api.github.com
brew
C library for reading, creating, and modifying zip archives. Version 1.11.4 via Homebrew; verified from local package data.
install
brew install libziplocal Homebrew formula metadata
sudo port install libzipMacPorts ports tree · archivers/libzip/Portfile · source: api.github.com
sudo apk add libzipAlpine Linux edge package indexes · libzip · source: dl-cdn.alpinelinux.org
sudo apt install libzip-devDebian stable package indexes · libzip-dev · source: deb.debian.org
sudo dnf install libzipFedora Rawhide package metadata · libzip · source: dl.fedoraproject.org
nix profile install nixpkgs#libzipnixpkgs package indexes · pkgs/by-name/li/libzip/package.nix · source: api.github.com
sudo pacman -S libzipArch Linux sync databases · libzip · source: geo.mirror.pkgbuild.com
sudo zypper install libzip-developenSUSE Tumbleweed package metadata · libzip-devel · source: download.opensuse.org
overview
C library for reading, creating, and modifying zip archives
history
libzip is a C library by Dieter Baron and Thomas Klausner for reading, creating, and modifying ZIP archives, with small companion tools such as zipcmp, zipmerge, and ziptool.
The libzip license page carries copyright years beginning in 1999 for Dieter Baron and Thomas Klausner. The project news records the first standalone release, libzip 0.6, on June 9, 2005, when the API was overhauled, the license changed to the three-clause BSD license, man pages were added, and zipcmp and zipmerge were installed.
libzip 1.0 was released on May 3, 2015 with an I/O abstraction layer, native Windows file API support, file modification time support, the zip_error_t type, and a security fix for CVE-2015-2331. The official repository moved from the project Mercurial server to GitHub on December 8, 2017 to make contribution via issues and pull requests easier.
libzip spread because it solves the library case that Info-ZIP-style tools do not: programmatic archive editing with a C API, package-manager-friendly licensing, and no requirement to shell out to zip or unzip. Its own packages page tracks distribution packaging, and the API documentation is structured around both reading and creating or modifying archives.
The project continued to add archive-format features used by downstream software: Zip64 and UTF-8 work in 0.11 in 2013, AES encryption in 1.2.0 in 2017, bzip2 support in 1.3.0 in 2017, traditional PKWare encryption support in 1.7.0 in 2020, and zstd and lzma support in 1.8.0 in 2021.
Developers use libzip when an application needs structured ZIP access: opening archives, reading entries, adding or replacing files, setting comments, changing compression or encryption, working with source callbacks, and closing modified archives. The command-line programs are useful for package tests, archive comparison, merging, and scripted edits.
libzip matters in package graphs because ZIP is not just a file-compression format: it underlies EPUB, OOXML, OpenDocument, Java archives, app bundles, firmware, and asset containers. A small C library that can modify ZIP archives safely becomes a dependency for runtimes, document tools, language bindings, and build systems.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
zipcmp | cli | global executable | |
zipmerge | cli | global executable | |
ziptool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:libzip |
|---|---|
| Version | 1.11.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libzip |
| Homepage | https://libzip.org/ |
| Repository | https://github.com/nih-at/libzip |
| Upstream docs | https://libzip.org/documentation |
| License | BSD-3-Clause |
| Source archive | https://libzip.org/download/libzip-1.11.4.tar.xz |
| Dependencies | xz, zstd |
| Build dependencies | cmake |
| Uses from macOS | bzip2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libzip |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libzip-dev 1.11.3-2
library for reading, creating, and modifying zip archives (development)
sudo apt install libzip-devlibzip5 1.11.3-2
library for reading, creating, and modifying zip archives (runtime)
sudo apt install libzip5zipcmp 1.11.3-2
compare contents of zip archives
sudo apt install zipcmpzipmerge 1.11.3-2
merge zip archives
sudo apt install zipmergeziptool 1.11.3-2
modify zip archives
sudo apt install ziptoollibzip
nix profile install nixpkgs#libziplibzip-dev 1.7.3-1.1ubuntu2
library for reading, creating, and modifying zip archives (development)
sudo apt install libzip-devlibzip4t64 1.7.3-1.1ubuntu2
library for reading, creating, and modifying zip archives (runtime)
sudo apt install libzip4t64zipcmp 1.7.3-1.1ubuntu2
compare contents of zip archives
sudo apt install zipcmpzipmerge 1.7.3-1.1ubuntu2
merge zip archives
sudo apt install zipmergeziptool 1.7.3-1.1ubuntu2
modify zip archives
sudo apt install ziptoollibzip 1.11.4-r2
C library for manipulating zip archives
sudo apk add libziplibzip-dev 1.11.4-r2
C library for manipulating zip archives (development files)
sudo apk add libzip-devlibzip-doc 1.11.4-r2
C library for manipulating zip archives (documentation)
sudo apk add libzip-doclibzip-tools 1.11.4-r2
libzip cmp and merge tools
sudo apk add libzip-toolslibzip 1.11.4-3.fc44
C library for reading, creating, and modifying zip archives
sudo dnf install libzipsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.