Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix, pacman, zypper 安装 zchunk

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zchunk

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install zchunk

Debian stable package indexes · zchunk · 来源: deb.debian.org

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

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

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install zchunk

openSUSE Tumbleweed package metadata · zchunk · 来源: download.opensuse.org

概览

软件包摘要

Compressed file format for efficient deltas

命令和别名

  • unzck
  • zck
  • zck_delta_size
  • zck_gen_zdict
  • zck_read_header
  • zckdl

历史

项目历史与用法

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.

时间线

  • 2018-04: Jonathan Dieter introduced zchunk as a delta-friendly compressed file format.
  • 2018-05: Dieter published a deeper explanation of the chunk/header/download model and Fedora metadata motivation.
  • 2018-12: Fedora infrastructure began generating zchunked metadata, according to the Fedora change page.
  • 2019: Fedora 30 targeted zchunk repository metadata as a system-wide change.
  • zchunk 1.0: Upstream README marks the API and ABI stable with backward-compatible additions only.

Related projects

  • zsync: an earlier HTTP-friendly delta download approach that influenced zchunk.
  • casync: content-addressed synchronization tool that influenced zchunk's design tradeoffs.
  • zstd: compression library used internally by zchunk chunks.
  • dnf, libdnf, librepo, libsolv, and createrepo_c: Fedora package-management components involved in zchunk metadata adoption.

来源

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:compress

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
unzckcli全局可执行文件
zckcli全局可执行文件
zck_delta_sizecli全局可执行文件
zck_gen_zdictcli全局可执行文件
zck_read_headercli全局可执行文件
zckdlcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-26
管理器版本1.5.3
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本1.5.3

https://github.com/zchunk/zchunk

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namezchunk
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libzck-dev 1.5.1+ds1-1

compress a file into independent chunks - development files

https://github.com/zchunk/zchunk

sudo apt install libzck-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zchunk
  • 2 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzck-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzck1 1.5.1+ds1-1

compress a file into independent chunks - shared library

https://github.com/zchunk/zchunk

sudo apt install libzck1
  • Section: libs
  • Architecture: amd64
  • Source Package: zchunk
  • 2 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzck1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zchunk 1.5.1+ds1-1

compress a file into independent chunks

https://github.com/zchunk/zchunk

sudo apt install zchunk
  • Section: utils
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zchunk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zchunk

nix profile install nixpkgs#zchunk
  • normalized package name match
  • 匹配方式:Zchunk
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zc/zchunk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libzck-dev 1.3.2+ds1-1build2

compress a file into independent chunks - development files

https://github.com/zchunk/zchunk

sudo apt install libzck-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: zchunk
  • 2 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzck-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libzck1 1.3.2+ds1-1build2

compress a file into independent chunks - shared library

https://github.com/zchunk/zchunk

sudo apt install libzck1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: zchunk
  • 2 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzck1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zchunk 1.3.2+ds1-1build2

compress a file into independent chunks

https://github.com/zchunk/zchunk

sudo apt install zchunk
  • Section: universe/utils
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Zchunk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zchunk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

zchunk 1.5.1-4.fc44

Compressed file format that allows easy deltas

https://github.com/zchunk/zchunk

sudo dnf install zchunk
  • License: BSD-2-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zchunk
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zchunk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zchunk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zchunk-devel 1.5.1-4.fc44

Headers for building against zchunk

https://github.com/zchunk/zchunk

sudo dnf install zchunk-devel
  • License: BSD-2-Clause AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zchunk
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zchunk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zchunk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zchunk-libs 1.5.1-4.fc44

Zchunk library

https://github.com/zchunk/zchunk

sudo dnf install zchunk-libs
  • License: BSD-2-Clause AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zchunk
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zchunk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zchunk-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

zchunk 1.5.3-1

A file format designed for highly efficient deltas while maintaining good compression

https://github.com/zchunk/zchunk

sudo pacman -S zchunk
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zchunk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zchunk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libzck-devel 1.5.3-1.3

Headers for building against zchunk

https://github.com/zchunk/zchunk

sudo zypper install libzck-devel
  • License: BSD-2-Clause AND MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: zchunk
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Zchunk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzck-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libzck1 1.5.3-1.3

Zchunk library

https://github.com/zchunk/zchunk

sudo zypper install libzck1
  • License: BSD-2-Clause AND MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: zchunk
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zchunk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzck1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

zchunk 1.5.3-1.3

Compressed file format that allows easy deltas

https://github.com/zchunk/zchunk

sudo zypper install zchunk
  • License: BSD-2-Clause AND MIT
  • Category: Productivity/Archiving/Compression
  • Architecture: x86_64
  • Source Package: zchunk
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zchunk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: zchunk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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