Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xxhash

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xxhash

MacPorts ports tree · devel/xxhash/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

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

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

Windows

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

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

概览

软件包摘要

Extremely fast non-cryptographic hash algorithm

命令和别名

  • xxh128sum
  • xxh32sum
  • xxh3sum
  • xxh64sum
  • xxhsum

历史

项目历史与用法

xxHash is Yann Collet's family of extremely fast, non-cryptographic hash algorithms and a reference C implementation with the xxhsum command-line tool. In package-manager terms it is both a developer library and a checksum utility for cases where speed, stable output, and good distribution properties matter more than cryptographic security.

项目历史

The project was created by Yann Collet, also known for LZ4, around the need for hashes that could keep up with memory bandwidth. Its own documentation describes xxHash as processing at RAM-speed limits, portable across endianness, and producing identical results on all platforms.

The original family centered on XXH32 and XXH64, giving 32-bit and 64-bit outputs using ordinary integer arithmetic. Later releases added XXH3, a vectorized design with 64-bit and 128-bit variants that was introduced experimentally and stabilized in v0.8.0.

The command-line side grew alongside the library. xxhsum provides checksum generation and verification in the style of cksum or sha utilities, while symlinked helper names such as xxh32sum, xxh64sum, xxh3sum, and xxh128sum expose the algorithm choices as separate package binaries.

采用历史

xxHash spread because it filled a very common systems niche: fast checksums for hash tables, content indexing, compression frames, databases, caches, backup tools, file-transfer workflows, and test suites where cryptographic hashes are unnecessary overhead.

The project's README emphasizes SMHasher and extended collision/speed testing, helping adoption by giving packagers and downstream developers a compact, portable C implementation with visible quality checks. The xxhash.com reference-usage page and language bindings further show adoption across multiple runtimes.

A notable ecosystem link is LZ4: xxHash is used as a checksum in the LZ4 frame format, reinforcing its identity as infrastructure for compression and high-throughput data plumbing.

使用方式

Developers link libxxhash or include the single-file implementation to compute stable non-cryptographic hashes in performance-sensitive code. Typical use cases include deduplication hints, cache keys, integrity checks inside trusted pipelines, sharding, chunk fingerprints, and quick comparison of large byte streams.

CLI users run xxhsum or one of the algorithm-specific sum commands to generate and check hashes for files. The important operational caveat is that xxHash is not a cryptographic hash and should not be used for password storage, signatures, HMAC-style security decisions, or adversarial tamper resistance.

为什么软件包爱好者会关心

xxHash is the kind of small C library that quietly becomes plumbing. Package nerds care because it ships a stable ABI-facing library, pkg-config metadata, a family of checksum commands, and many downstream language bindings while still staying close to a reference implementation.

It also illustrates a packaging distinction users often miss: checksum tools are not automatically security tools. Installing xxhash gives a fast file-fingerprinting utility, not a replacement for SHA-256 or BLAKE2 in hostile environments.

时间线

  • 2010s: Yann Collet develops xxHash as a very fast non-cryptographic hash family, initially centered on XXH32 and XXH64.
  • 2010s: xxHash becomes associated with high-speed compression and data-processing tooling, including LZ4 frame checksums.
  • 2020-07-27: xxHash v0.8.0 stabilizes XXH3, including stable 64-bit and 128-bit output values for storage and interchange.
  • 2020s: The project documents XXH32, XXH64, XXH3_64bits, and XXH3_128bits as the main algorithm flavors and continues shipping xxhsum plus algorithm-specific helper commands.

Related projects

  • LZ4 is a closely related Yann Collet compression project and a prominent user of xxHash checksums.
  • SMHasher is the hash-function quality test suite cited by xxHash for collision, dispersion, and randomness testing.
  • CityHash, MurmurHash, SpookyHash, SipHash, FNV, BLAKE2, SHA-1, and MD5 appear in xxHash benchmark comparisons as neighboring hash families with different performance/security tradeoffs.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xxh128sumcli全局可执行文件
xxh32sumcli全局可执行文件
xxh3sumcli全局可执行文件
xxh64sumcli全局可执行文件
xxhsumcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/Cyan4973/xxHash

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

安装元数据

软件包元数据

软件包键brew:xxhash
版本0.8.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/xxhash
主页https://xxhash.com
仓库https://github.com/Cyan4973/xxHash
上游文档https://github.com/Cyan4973/xxHash#readme
许可证BSD-2-Clause AND GPL-2.0-or-later
源码归档https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.3.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexxhash
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libxxhash-dev 0.8.3-2

header files and a static library for libxxhash

https://cyan4973.github.io/xxHash

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

libxxhash0 0.8.3-2

shared library for xxhash

https://cyan4973.github.io/xxHash

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

xxhash 0.8.3-2

Extremely fast hash algorithm

https://cyan4973.github.io/xxHash

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

xxhash

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

libxxhash-dev 0.8.2-2build1

header files and a static library for libxxhash

https://cyan4973.github.io/xxHash

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

libxxhash0 0.8.2-2build1

shared library for xxhash

https://cyan4973.github.io/xxHash

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

xxhash 0.8.2-2build1

Extremely fast hash algorithm

https://cyan4973.github.io/xxHash

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

libxxhash 0.8.3-r1

Extremely fast non-cryptographic hash algorithm (libraries)

https://cyan4973.github.io/xxHash/

sudo apk add libxxhash
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xxhash
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xxhash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libxxhash from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

xxhash 0.8.3-r1

Extremely fast non-cryptographic hash algorithm

https://cyan4973.github.io/xxHash/

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

xxhash-dev 0.8.3-r1

Extremely fast non-cryptographic hash algorithm (development files)

https://cyan4973.github.io/xxHash/

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

xxhash-doc 0.8.3-r1

Extremely fast non-cryptographic hash algorithm (documentation)

https://cyan4973.github.io/xxHash/

sudo apk add xxhash-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xxhash
  • normalized package name match
  • 匹配方式:Xxhash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xxhash-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

xxhash-static 0.8.3-r1

Extremely fast non-cryptographic hash algorithm (static library)

https://cyan4973.github.io/xxHash/

sudo apk add xxhash-static
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: xxhash
  • normalized package name match
  • 匹配方式:Xxhash
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xxhash-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

xxhash 0.8.3-4.fc44

Extremely fast hash algorithm

https://www.xxhash.com/

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

xxhash-devel 0.8.3-4.fc44

Extremely fast hash algorithm - development files

https://www.xxhash.com/

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

xxhash-doc 0.8.3-4.fc44

Extremely fast hash algorithm - documentation files

https://www.xxhash.com/

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

xxhash-libs 0.8.3-4.fc44

Extremely fast hash algorithm - library

https://www.xxhash.com/

sudo dnf install xxhash-libs
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: xxhash
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Xxhash
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xxhash-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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