Automic VaultAutomic Vault

brew

Install libzip with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

C library for reading, creating, and modifying zip archives. Version 1.11.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libzip

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libzip

MacPorts ports tree · archivers/libzip/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libzip

Alpine Linux edge package indexes · libzip · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libzip-dev

Debian stable package indexes · libzip-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libzip

Fedora Rawhide package metadata · libzip · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libzip

nixpkgs package indexes · pkgs/by-name/li/libzip/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libzip

Arch Linux sync databases · libzip · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libzip-devel

openSUSE Tumbleweed package metadata · libzip-devel · source: download.opensuse.org

overview

Package summary

C library for reading, creating, and modifying zip archives

Commands and aliases

  • zipcmp
  • zipmerge
  • ziptool

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1999: libzip copyright history begins with Dieter Baron and Thomas Klausner.
  • 2005-06-09: libzip 0.6 became the first standalone release.
  • 2013-03-23: libzip 0.11 added Zip64 and UTF-8 support.
  • 2015-05-03: libzip 1.0 introduced an I/O abstraction layer and fixed CVE-2015-2331.
  • 2017-12-08: The official repository moved from Mercurial to GitHub.
  • 2021-06-18: libzip 1.8.0 added zstd and lzma compression support.

Related projects

  • libzip sits beside command-line ZIP implementations rather than replacing them. Related concepts and projects include Info-ZIP tools, PKWARE ZIP specifications, zlib, language bindings, and the many document and package formats built on ZIP containers.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
zipcmpcliglobal executable
zipmergecliglobal executable
ziptoolcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.11.4
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://libzip.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://libzip.org/none confidence

install metadata

Package metadata

Package keybrew:libzip
Version1.11.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libzip
Homepagehttps://libzip.org/
Repositoryhttps://github.com/nih-at/libzip
Upstream docshttps://libzip.org/documentation
LicenseBSD-3-Clause
Source archivehttps://libzip.org/download/libzip-1.11.4.tar.xz
Dependenciesxz, zstd
Build dependenciescmake
Uses from macOSbzip2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibzip
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libzip-dev 1.11.3-2

library for reading, creating, and modifying zip archives (development)

https://libzip.org

sudo apt install libzip-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libzip
  • 5 dependencies
  • normalized package name match
  • Matched by: Libzip
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzip-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzip5 1.11.3-2

library for reading, creating, and modifying zip archives (runtime)

https://libzip.org

sudo apt install libzip5
  • Section: libs
  • Architecture: amd64
  • Source Package: libzip
  • 6 dependencies
  • normalized package name match
  • Matched by: Libzip
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzip5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zipcmp 1.11.3-2

compare contents of zip archives

https://libzip.org

sudo apt install zipcmp
  • Section: utils
  • Architecture: amd64
  • Source Package: libzip
  • 3 dependencies
  • normalized package name match
  • Matched by: Libzip
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zipcmp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zipmerge 1.11.3-2

merge zip archives

https://libzip.org

sudo apt install zipmerge
  • Section: utils
  • Architecture: amd64
  • Source Package: libzip
  • 2 dependencies
  • normalized package name match
  • Matched by: Libzip
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zipmerge from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ziptool 1.11.3-2

modify zip archives

https://libzip.org

sudo apt install ziptool
  • Section: utils
  • Architecture: amd64
  • Source Package: libzip
  • 2 dependencies
  • normalized package name match
  • Matched by: Libzip
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ziptool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libzip

nix profile install nixpkgs#libzip
  • normalized package name match
  • Matched by: Libzip
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libzip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libzip-dev 1.7.3-1.1ubuntu2

library for reading, creating, and modifying zip archives (development)

https://libzip.org

sudo apt install libzip-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libzip
  • 2 dependencies
  • normalized package name match
  • Matched by: Libzip
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzip-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libzip4t64 1.7.3-1.1ubuntu2

library for reading, creating, and modifying zip archives (runtime)

https://libzip.org

sudo apt install libzip4t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libzip
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libzip
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzip4t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zipcmp 1.7.3-1.1ubuntu2

compare contents of zip archives

https://libzip.org

sudo apt install zipcmp
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libzip
  • 3 dependencies
  • normalized package name match
  • Matched by: Libzip
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zipcmp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zipmerge 1.7.3-1.1ubuntu2

merge zip archives

https://libzip.org

sudo apt install zipmerge
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libzip
  • 2 dependencies
  • normalized package name match
  • Matched by: Libzip
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zipmerge from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ziptool 1.7.3-1.1ubuntu2

modify zip archives

https://libzip.org

sudo apt install ziptool
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libzip
  • 2 dependencies
  • normalized package name match
  • Matched by: Libzip
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ziptool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libzip 1.11.4-r2

C library for manipulating zip archives

https://libzip.org/

sudo apk add libzip
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libzip
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libzip
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libzip from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libzip-dev 1.11.4-r2

C library for manipulating zip archives (development files)

https://libzip.org/

sudo apk add libzip-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libzip
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libzip
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libzip-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libzip-doc 1.11.4-r2

C library for manipulating zip archives (documentation)

https://libzip.org/

sudo apk add libzip-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libzip
  • normalized package name match
  • Matched by: Libzip
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libzip-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libzip-tools 1.11.4-r2

libzip cmp and merge tools

https://libzip.org/

sudo apk add libzip-tools
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: libzip
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libzip
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libzip-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libzip 1.11.4-3.fc44

C library for reading, creating, and modifying zip archives

https://libzip.org/

sudo dnf install libzip
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libzip
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libzip
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzip from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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