Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 zstd

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zstd

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zstd

MacPorts ports tree · archivers/zstd/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add zstd

Alpine Linux edge package indexes · zstd · 来源: dl-cdn.alpinelinux.org

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

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

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

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

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

nixpkgs package indexes · zstd · 来源: raw.githubusercontent.com

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

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

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

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

Windows

Scoop已验证 · 92%
scoop install main/zstd

Scoop official bucket manifest trees · bucket/zstd.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Meta.Zstandard -e

Windows Package Manager source index · Meta.Zstandard · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Zstandard is a real-time compression algorithm

命令和别名

  • pzstd
  • unzstd
  • zstd
  • zstdcat
  • zstdgrep
  • zstdless
  • zstdmt

历史

项目历史与用法

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.

时间线

  • 2016-08-31: Facebook announced Zstandard 1.0.
  • 2017: ZSTD support entered Btrfs documentation as available since Linux 4.14.
  • 2018-12-19: Meta engineering published notes on large-scale storage improvements with Zstandard.
  • 2021: RFC 8878 documented the Zstandard format and application/zstd media type.
  • 2025-02: zstd 1.5.7 changelog entry records CLI, API, performance, and portability work.
  • 2025-12: zstd 1.6.0 changelog entry records legacy-format support disabled by default.

Related projects

  • Related projects include zlib, gzip, Deflate, lz4, xz, Brotli, Finite State Entropy, Huff0, Btrfs, SquashFS, libarchive-style tooling, and language bindings listed from the Zstandard homepage.

安全态势

风险级别: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 元数据适用于 8 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pzstdcli全局可执行文件
unzstdcli全局可执行文件
zstdcli全局可执行文件
zstdcatcli全局可执行文件
zstdgrepcli全局可执行文件
zstdlesscli全局可执行文件
zstdmtcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本1.5.7
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.5.7

https://github.com/facebook/zstd

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

zstd 1.5.7+dfsg-1

fast lossless compression algorithm -- CLI tool

https://github.com/facebook/zstd

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

zstd

nix profile install nixpkgs#zstd
  • normalized package name match
  • 匹配方式:Zstd
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: zstd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

zstd 1.5.5+dfsg2-2build1

fast lossless compression algorithm -- CLI tool

https://github.com/facebook/zstd

sudo apt install zstd
  • Section: utils
  • Architecture: amd64
  • Source Package: libzstd
  • 6 依赖
  • normalized package name match
  • 匹配方式:Zstd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zstd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

zstd 1.5.7-r2

Zstandard - Fast real-time compression algorithm

https://facebook.github.io/zstd/

sudo apk add zstd
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-dev 1.5.7-r2

Zstandard - Fast real-time compression algorithm (development files)

https://facebook.github.io/zstd/

sudo apk add zstd-dev
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-doc 1.5.7-r2

Zstandard - Fast real-time compression algorithm (documentation)

https://facebook.github.io/zstd/

sudo apk add zstd-doc
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-frugal 1.5.7-r2

Zstandard - Fast real-time compression algorithm (frugal cli)

https://facebook.github.io/zstd/

sudo apk add zstd-frugal
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-frugal from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-libs 1.5.7-r2

Zstandard - Fast real-time compression algorithm (libraries)

https://facebook.github.io/zstd/

sudo apk add zstd-libs
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-static 1.5.7-r2

Zstandard - Fast real-time compression algorithm (static library)

https://facebook.github.io/zstd/

sudo apk add zstd-static
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • normalized package name match
  • 匹配方式:Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libzstd 1.5.7-5.fc44

Zstd shared library

https://github.com/facebook/zstd

sudo dnf install libzstd
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zstd
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzstd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libzstd-devel 1.5.7-5.fc44

Header files for Zstd library

https://github.com/facebook/zstd

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

libzstd-static 1.5.7-5.fc44

Static variant of the Zstd library

https://github.com/facebook/zstd

sudo dnf install libzstd-static
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zstd
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzstd-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zstd 1.5.7-5.fc44

Zstd compression library

https://github.com/facebook/zstd

sudo dnf install zstd
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zstd
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zstd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

zstd 1.5.7-3

Zstandard - Fast real-time compression algorithm

https://facebook.github.io/zstd/

sudo pacman -S zstd
  • License: BSD-3-Clause AND GPL-2.0-only
  • Architecture: x86_64
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zstd from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

libzstd-devel 1.5.7-4.2

Development files for the Zstd compression library

https://github.com/facebook/zstd

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

libzstd-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
  • License: BSD-3-Clause AND GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: zstd
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Zstd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzstd-devel-32bit 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