macOS
brew install zchunklocal Homebrew formula metadata
安装
brew install zchunklocal Homebrew formula metadata
sudo apt install zchunkDebian stable package indexes · zchunk · 来源: deb.debian.org
sudo dnf install zchunkFedora Rawhide package metadata · zchunk · 来源: dl.fedoraproject.org
nix profile install nixpkgs#zchunknixpkgs package indexes · pkgs/by-name/zc/zchunk/package.nix · 来源: api.github.com
sudo pacman -S zchunkArch Linux sync databases · zchunk · 来源: geo.mirror.pkgbuild.com
sudo zypper install zchunkopenSUSE Tumbleweed package metadata · zchunk · 来源: download.opensuse.org
概览
Compressed file format for efficient deltas
历史
zchunk is Jonathan Dieter's delta-friendly compressed file format and tool suite. It splits compressed data into independently verified chunks so clients can reuse old chunks and fetch only changed ranges from ordinary HTTP servers.
Dieter introduced zchunk publicly in April 2018 as a new format influenced by zsync and casync but aimed at avoiding their weaknesses for update metadata. The core idea was to keep reasonable compression while making deltas practical with standard HTTP range requests, zstd-compressed chunks, and strong per-chunk checksums.
The format's motivating use case was Fedora repository metadata. Dieter explained that Fedora update checks repeatedly downloaded large metadata files even when most records were unchanged. zchunk answered that by storing chunk metadata in the file header, comparing it with an older local copy, and downloading only the missing chunks needed to reconstruct the new file byte-for-byte.
The upstream README later marked the API and ABI stable as of zchunk 1.0, with future changes limited to backward-compatible additions. That stability mattered because zchunk was not just a standalone compression command; it had to be embedded into repository metadata generation and package-update clients.
Fedora drove zchunk's most visible adoption. The Fedora 30 change proposal made zchunk metadata a system-wide change, with repository metadata compressed in zchunk alongside older formats and support work across dnf, libdnf, librepo, libsolv, and createrepo_c. Fedora expected regular dnf users to see substantially smaller metadata downloads, especially for daily update checks.
The practical adoption path was infrastructure-heavy rather than user-interface-heavy: repository generators had to produce .zck metadata, clients had to understand the format, and mirrors only needed to support normal HTTP range requests. That made zchunk a quiet package-management optimization rather than a user-facing archiver like gzip or xz.
The zchunk tools include zck for creating .zck files, unzck for decompression, zckdl for range-aware downloads against an older source copy, zck_read_header for inspecting headers, and dictionary tooling for repeated data. Users creating update metadata or other frequently changing structured files choose stable chunking and dictionaries so future versions maximize chunk reuse.
The best fit is content where each new version overlaps heavily with older versions: package repository metadata, catalogs, indexes, and other generated files. It is less about compressing a single archive once and more about minimizing repeated downloads over time.
zchunk is especially significant to package nerds because it moved compression from a generic file-size problem into the package-manager update loop. It shows how a small format and CLI can reshape bandwidth behavior across an entire distribution when integrated into metadata generation and dependency-resolution clients.
It also sits at a neat boundary between compression formats, rsync-like delta thinking, and package infrastructure: boring to end users when it works, deeply interesting to anyone who watches mirrors, metadata churn, and update clients.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
unzck | cli | 全局可执行文件 | |
zck | cli | 全局可执行文件 | |
zck_delta_size | cli | 全局可执行文件 | |
zck_gen_zdict | cli | 全局可执行文件 | |
zck_read_header | cli | 全局可执行文件 | |
zckdl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/zchunk/zchunk
安装元数据
| 软件包键 | brew:zchunk |
|---|---|
| 版本 | 1.5.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zchunk |
| 主页 | https://github.com/zchunk/zchunk |
| 仓库 | https://github.com/zchunk/zchunk |
| 上游文档 | https://github.com/zchunk/zchunk#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/zchunk/zchunk/archive/refs/tags/1.5.3.tar.gz |
| 最后更新 | 2026-06-19T13:24:57Z |
| Pulse | updated |
| 依赖 | openssl@4, zstd |
| 构建依赖 | argp-standalone, meson, ninja, pkgconf |
| macOS 提供的库 | curl |
| 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 | zchunk |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libzck-dev 1.5.1+ds1-1
compress a file into independent chunks - development files
https://github.com/zchunk/zchunk
sudo apt install libzck-devlibzck1 1.5.1+ds1-1
compress a file into independent chunks - shared library
https://github.com/zchunk/zchunk
sudo apt install libzck1zchunk 1.5.1+ds1-1
compress a file into independent chunks
https://github.com/zchunk/zchunk
sudo apt install zchunkzchunk
nix profile install nixpkgs#zchunklibzck-dev 1.3.2+ds1-1build2
compress a file into independent chunks - development files
https://github.com/zchunk/zchunk
sudo apt install libzck-devlibzck1 1.3.2+ds1-1build2
compress a file into independent chunks - shared library
https://github.com/zchunk/zchunk
sudo apt install libzck1zchunk 1.3.2+ds1-1build2
compress a file into independent chunks
https://github.com/zchunk/zchunk
sudo apt install zchunkzchunk 1.5.1-4.fc44
Compressed file format that allows easy deltas
https://github.com/zchunk/zchunk
sudo dnf install zchunkzchunk-devel 1.5.1-4.fc44
Headers for building against zchunk
https://github.com/zchunk/zchunk
sudo dnf install zchunk-develzchunk-libs 1.5.1-4.fc44
Zchunk library
https://github.com/zchunk/zchunk
sudo dnf install zchunk-libszchunk 1.5.3-1
A file format designed for highly efficient deltas while maintaining good compression
https://github.com/zchunk/zchunk
sudo pacman -S zchunklibzck-devel 1.5.3-1.3
Headers for building against zchunk
https://github.com/zchunk/zchunk
sudo zypper install libzck-devellibzck1 1.5.3-1.3
Zchunk library
https://github.com/zchunk/zchunk
sudo zypper install libzck1zchunk 1.5.3-1.3
Compressed file format that allows easy deltas
https://github.com/zchunk/zchunk
sudo zypper install zchunk来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.