Automic VaultAutomic Vault

brew

Install zchunk with Homebrew, apt, dnf, Nix, pacman, zypper

Compressed file format for efficient deltas. Version 1.5.3 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zchunk

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libzck-dev

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

Fedora dnfverified · 92%
sudo dnf install zchunk

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

Nixverified · 92%
nix profile install nixpkgs#zchunk

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

Arch Linux pacmanverified · 92%
sudo pacman -S zchunk

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

openSUSE zypperverified · 92%
sudo zypper install libzck-devel

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

overview

Package summary

Compressed file format for efficient deltas

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

Sources

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:compress

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 4 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
unzckcliglobal executable
zckcliglobal executable
zck_delta_sizecliglobal executable
zck_gen_zdictcliglobal executable
zck_read_headercliglobal executable
zckdlcliglobal 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.5.3
manager updated2026-06-19
local dataok
upstreamcurrent
latest detected1.5.3

https://github.com/zchunk/zchunk

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:zchunk
Version1.5.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zchunk
Homepagehttps://github.com/zchunk/zchunk
Repositoryhttps://github.com/zchunk/zchunk
Upstream docshttps://github.com/zchunk/zchunk#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/zchunk/zchunk/archive/refs/tags/1.5.3.tar.gz
Last updated2026-06-19T13:24:57Z
Pulseupdated
Dependenciesopenssl@4, zstd
Build dependenciesargp-standalone, meson, ninja, pkgconf
Uses from macOScurl
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 Namezchunk
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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%

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

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