Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libdeflate

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libdeflate

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

Linux

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libdeflate-dev

Debian stable package indexes · libdeflate-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libdeflate-devel

openSUSE Tumbleweed package metadata · libdeflate-devel · 来源: download.opensuse.org

概览

软件包摘要

Heavily optimized DEFLATE/zlib/gzip compression and decompression

命令和别名

  • libdeflate-gunzip
  • libdeflate-gzip

历史

项目历史与用法

libdeflate is Eric Biggers' optimized C library for whole-buffer DEFLATE, zlib, and gzip compression and decompression. It is intentionally not a streaming zlib clone; it trades API compatibility for speed, compactness, and easy embedding.

项目历史

The README presents libdeflate as a fast whole-buffer compression library supporting raw DEFLATE, zlib-wrapped DEFLATE, and gzip-wrapped DEFLATE. It includes library APIs plus libdeflate-gzip/libdeflate-gunzip convenience programs, benchmarks, and checksum tools.

The NEWS file starts with version 0.1 as the initial official release, then records a steady sequence of compression-ratio, checksum, architecture, build, and portability improvements. Notable milestones include MIT relicensing by 0.5, CMake and compiler support work, custom allocator APIs in 1.19, RISC-V basics and new checksum acceleration in 1.20, and relocatable CMake package work in 1.25.

采用历史

libdeflate became attractive anywhere software needed faster in-memory DEFLATE-family compression than zlib-style streaming APIs. The README explicitly supports direct source integration and documents language bindings, helping it spread into applications, libraries, and package managers as a performance-oriented dependency.

使用方式

Developers use libdeflate when the compressed or decompressed data fits in memory and whole-buffer APIs are acceptable. The libdeflate-gzip tool can substitute for standard gzip in some cases, but upstream warns it is a convenience program with limitations rather than the main use case.

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

libdeflate is a modern compression-library package with exactly the kind of constraints packagers care about: stable C APIs, CPU-specific optimized code selected at runtime, direct embedding support, CMake/pkg-config integration, and a non-zlib-compatible API that prevents accidental semantic confusion.

时间线

  • 2016: The author publicly announced libdeflate as a new optimized DEFLATE implementation.
  • 2017: Version 0.1 was the initial official release according to upstream NEWS.
  • 2018: Version 1.0-era Windows binary and API usage surfaced in upstream issue and release workflows.
  • 2023: Version 1.19 added custom allocator APIs and compatibility fixes for DEFLATE streams created by libdeflate.
  • 2024: Version 1.20 added VPCLMULQDQ/VNNI checksum acceleration and basic RISC-V optimizations.
  • 2026: Version 1.25 fixed a GCC 16 build error and made the CMake package relocatable.

Related projects

  • zlib, gzip, and raw DEFLATE are the formats and incumbent ecosystem around libdeflate. Language bindings and bundled integrations use libdeflate when whole-buffer compression is a better fit than streaming APIs.

安全态势

风险级别: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 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
libdeflate-gunzipcli全局可执行文件
libdeflate-gzipcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/ebiggers/libdeflate

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

安装元数据

软件包元数据

软件包键brew:libdeflate
版本1.25
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libdeflate
主页https://github.com/ebiggers/libdeflate
仓库https://github.com/ebiggers/libdeflate
上游文档https://github.com/ebiggers/libdeflate#readme
许可证MIT
源码归档https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.25.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libdeflate-dev 1.23-2

headers for whole-buffer compression and decompression library

https://github.com/ebiggers/libdeflate

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

libdeflate-tools 1.23-2

tools for whole-buffer compression and decompression library

https://github.com/ebiggers/libdeflate

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

libdeflate0 1.23-2

fast, whole-buffer DEFLATE-based compression and decompression

https://github.com/ebiggers/libdeflate

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

libdeflate

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

libdeflate-dev 1.19-1build1

headers for whole-buffer compression and decompression library

https://github.com/ebiggers/libdeflate

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

libdeflate-tools 1.19-1build1

tools for whole-buffer compression and decompression library

https://github.com/ebiggers/libdeflate

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

libdeflate0 1.19-1build1

fast, whole-buffer DEFLATE-based compression and decompression

https://github.com/ebiggers/libdeflate

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

libdeflate 1.25-r0

Library for fast, whole-buffer DEFLATE-based compression and decompression

https://github.com/ebiggers/libdeflate

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

libdeflate-dev 1.25-r0

Library for fast, whole-buffer DEFLATE-based compression and decompression (development files)

https://github.com/ebiggers/libdeflate

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

libdeflate-static 1.25-r0

Library for fast, whole-buffer DEFLATE-based compression and decompression (static library)

https://github.com/ebiggers/libdeflate

sudo apk add libdeflate-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: libdeflate
  • normalized package name match
  • 匹配方式:Libdeflate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdeflate-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libdeflate-utils 1.25-r0

Command line utilities for the DEFLATE library

https://github.com/ebiggers/libdeflate

sudo apk add libdeflate-utils
  • License: MIT
  • Architecture: x86_64
  • Source Package: libdeflate
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libdeflate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libdeflate-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libdeflate 1.25-3.fc44

Fast implementation of DEFLATE, gzip, and zlib

https://github.com/ebiggers/libdeflate

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

libdeflate-devel 1.25-3.fc44

Development files for libdeflate

https://github.com/ebiggers/libdeflate

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

libdeflate-utils 1.25-3.fc44

Binaries from libdeflate

https://github.com/ebiggers/libdeflate

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

mingw32-libdeflate 1.25-3.fc44

MinGW Windows libdeflate library

https://github.com/ebiggers/libdeflate

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

mingw32-libdeflate-utils 1.25-3.fc44

MinGW Windows libdeflate binaries

https://github.com/ebiggers/libdeflate

sudo dnf install mingw32-libdeflate-utils
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: libdeflate
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libdeflate
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mingw32-libdeflate-utils 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