macOS
brew install libziplocal Homebrew formula metadata
sudo port install libzipMacPorts ports tree · archivers/libzip/Portfile · 来源: api.github.com
安装
brew install libziplocal Homebrew formula metadata
sudo port install libzipMacPorts ports tree · archivers/libzip/Portfile · 来源: api.github.com
sudo apk add libzipAlpine Linux edge package indexes · libzip · 来源: dl-cdn.alpinelinux.org
sudo dnf install libzipFedora Rawhide package metadata · libzip · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libzipnixpkgs package indexes · pkgs/by-name/li/libzip/package.nix · 来源: api.github.com
sudo pacman -S libzipArch Linux sync databases · libzip · 来源: geo.mirror.pkgbuild.com
sudo apt install libzip-devDebian stable package indexes · libzip-dev · 来源: deb.debian.org
sudo zypper install libzip-developenSUSE Tumbleweed package metadata · libzip-devel · 来源: download.opensuse.org
概览
C library for reading, creating, and modifying zip archives
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
zipcmp | cli | 全局可执行文件 | |
zipmerge | cli | 全局可执行文件 | |
ziptool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 libzip来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.