Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libzip

查看 libzip 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libzip

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libzip

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libzip

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

Fedora dnf已验证 · 92%
sudo dnf install libzip

Fedora Rawhide package metadata · libzip · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libzip

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libzip

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

Debian apt已验证 · 92%
sudo apt install libzip-dev

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

openSUSE zypper已验证 · 92%
sudo zypper install libzip-devel

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

概览

软件包摘要

C library for reading, creating, and modifying zip archives

命令和别名

  • zipcmp
  • zipmerge
  • ziptool

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
zipcmpcli全局可执行文件
zipmergecli全局可执行文件
ziptoolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.11.4
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://libzip.org/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://libzip.org/none 置信度

安装元数据

软件包元数据

软件包键brew:libzip
版本1.11.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libzip
主页https://libzip.org/
仓库https://github.com/nih-at/libzip
上游文档https://libzip.org/documentation
许可证BSD-3-Clause
源码归档https://libzip.org/download/libzip-1.11.4.tar.xz
依赖xz, zstd
构建依赖cmake
macOS 提供的库bzip2
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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