macOS
brew install zstdlocal Homebrew formula metadata
sudo port install zstdMacPorts ports tree · archivers/zstd/Portfile · 来源: api.github.com
安装
brew install zstdlocal Homebrew formula metadata
sudo port install zstdMacPorts ports tree · archivers/zstd/Portfile · 来源: api.github.com
sudo apk add zstdAlpine Linux edge package indexes · zstd · 来源: dl-cdn.alpinelinux.org
sudo dnf install zstdFedora Rawhide package metadata · zstd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#zstdnixpkgs package indexes · zstd · 来源: raw.githubusercontent.com
sudo pacman -S zstdArch Linux sync databases · zstd · 来源: geo.mirror.pkgbuild.com
sudo zypper install zstdopenSUSE Tumbleweed package metadata · zstd · 来源: download.opensuse.org
scoop install main/zstdScoop official bucket manifest trees · bucket/zstd.json · 来源: api.github.com
winget install --id Meta.Zstandard -eWindows Package Manager source index · Meta.Zstandard · 来源: cdn.winget.microsoft.com
概览
Zstandard is a real-time compression algorithm
历史
Zstandard, usually packaged as zstd, is Meta's fast general-purpose lossless compression format, C library, and command-line tool. It targets zlib-class compression ratios with much faster compression and decompression, plus tunable levels and dictionary training.
Zstandard was developed at Facebook by Yann Collet and collaborators as a modern successor in the design space occupied by Deflate, gzip, zlib, lz4, and xz. Meta announced Zstandard 1.0 on 2016-08-31, describing it as a compression algorithm and implementation designed for modern CPUs, high decompression speed, and a broad range of lossless-compression scenarios.
The reference implementation lives in the facebook/zstd repository as a C library and CLI. The README describes a stable format, the libzstd API, the zstd command-line utility, support for producing and decoding .zst plus compatibility with .gz, .xz, and .lz4 files, and a list of ports and bindings for other languages.
The format moved from a popular open-source implementation into a documented Internet format. RFC 8878 describes Zstandard compression and registers the application/zstd media type, content encoding, and structured syntax suffix for transporting zstd-compressed content.
zstd spread because it hit a package-maintainer sweet spot: faster decompression than gzip-class tools, better ratio than many fast compressors, a stable file format, and a normal Unix CLI. That combination made it attractive for source archives, package payloads, container layers, log compression, backup streams, and embedded compression inside larger systems.
Filesystem adoption gave zstd particular visibility among system users. Btrfs documentation records ZSTD support since Linux 4.14 alongside ZLIB and LZO, and Meta engineering later wrote about transparent zstd compression in Btrfs as a way to improve storage efficiency without a noticeable performance drop in its environment.
The project stayed active rather than freezing at the format layer. The changelog shows continuing work through the 1.5.x series and a 1.6.0 entry in Dec 2025, including CLI, API, build-system, portability, and performance improvements.
The package gives users commands such as zstd, unzstd, zstdcat, zstdgrep, zstdless, pzstd, and zstdmt. Common shell usage mirrors gzip-style workflows: compress a file or stream to .zst, decompress with unzstd or zstd -d, pipe through zstdcat, and tune level or --fast modes for speed/ratio trade-offs.
For developers, libzstd exposes one-shot compression/decompression, reusable contexts, streaming APIs, dictionaries, frame inspection, and advanced experimental APIs. The README also documents dictionary training with zstd --train for small repeated records, a major reason zstd appears in data stores and network protocols rather than only in file archivers.
zstd is one of the rare compression packages that matters at every packaging layer: as a user-facing CLI, a shared library dependency, an archive format, a filesystem compressor, and a performance knob inside build and distribution infrastructure.
For package nerds it is also a case study in successful infrastructure standardization: a vendor-originated tool became a stable RFC-described format with independent implementations, many bindings, and broad distribution support while retaining the boring Unix ergonomics expected from gzip-era tools.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pzstd | cli | 全局可执行文件 | |
unzstd | cli | 全局可执行文件 | |
zstd | cli | 全局可执行文件 | |
zstdcat | cli | 全局可执行文件 | |
zstdgrep | cli | 全局可执行文件 | |
zstdless | cli | 全局可执行文件 | |
zstdmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/facebook/zstd
安装元数据
| 软件包键 | brew:zstd |
|---|---|
| 版本 | 1.5.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zstd |
| 主页 | https://facebook.github.io/zstd/ |
| 仓库 | https://github.com/facebook/zstd |
| 上游文档 | https://facebook.github.io/zstd |
| 许可证 | (BSD-3-Clause OR GPL-2.0-only) AND BSD-2-Clause AND MIT |
| 源码归档 | https://github.com/facebook/zstd/archive/refs/tags/v1.5.7.tar.gz |
| 依赖 | lz4, xz |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zstd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
zstd 1.5.7+dfsg-1
fast lossless compression algorithm -- CLI tool
https://github.com/facebook/zstd
sudo apt install zstdzstd
nix profile install nixpkgs#zstdzstd 1.5.5+dfsg2-2build1
fast lossless compression algorithm -- CLI tool
https://github.com/facebook/zstd
sudo apt install zstdzstd 1.5.7-r2
Zstandard - Fast real-time compression algorithm
https://facebook.github.io/zstd/
sudo apk add zstdzstd-dev 1.5.7-r2
Zstandard - Fast real-time compression algorithm (development files)
https://facebook.github.io/zstd/
sudo apk add zstd-devzstd-doc 1.5.7-r2
Zstandard - Fast real-time compression algorithm (documentation)
https://facebook.github.io/zstd/
sudo apk add zstd-doczstd-frugal 1.5.7-r2
Zstandard - Fast real-time compression algorithm (frugal cli)
https://facebook.github.io/zstd/
sudo apk add zstd-frugalzstd-libs 1.5.7-r2
Zstandard - Fast real-time compression algorithm (libraries)
https://facebook.github.io/zstd/
sudo apk add zstd-libszstd-static 1.5.7-r2
Zstandard - Fast real-time compression algorithm (static library)
https://facebook.github.io/zstd/
sudo apk add zstd-staticlibzstd 1.5.7-5.fc44
Zstd shared library
https://github.com/facebook/zstd
sudo dnf install libzstdlibzstd-devel 1.5.7-5.fc44
Header files for Zstd library
https://github.com/facebook/zstd
sudo dnf install libzstd-devellibzstd-static 1.5.7-5.fc44
Static variant of the Zstd library
https://github.com/facebook/zstd
sudo dnf install libzstd-staticzstd 1.5.7-5.fc44
Zstd compression library
https://github.com/facebook/zstd
sudo dnf install zstdzstd 1.5.7-3
Zstandard - Fast real-time compression algorithm
https://facebook.github.io/zstd/
sudo pacman -S zstdlibzstd-devel 1.5.7-4.2
Development files for the Zstd compression library
https://github.com/facebook/zstd
sudo zypper install libzstd-devellibzstd-devel-32bit 1.5.7-4.2
Development files for the Zstd compression library
https://github.com/facebook/zstd
sudo zypper install libzstd-devel-32bit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.