macOS
brew install libdeflatelocal Homebrew formula metadata
sudo port install libdeflateMacPorts ports tree · archivers/libdeflate/Portfile · source: api.github.com
brew
Heavily optimized DEFLATE/zlib/gzip compression and decompression. Version 1.25 via Homebrew; verified from local package data.
install
brew install libdeflatelocal Homebrew formula metadata
sudo port install libdeflateMacPorts ports tree · archivers/libdeflate/Portfile · source: api.github.com
sudo apk add libdeflateAlpine Linux edge package indexes · libdeflate · source: dl-cdn.alpinelinux.org
sudo apt install libdeflate-devDebian stable package indexes · libdeflate-dev · source: deb.debian.org
sudo dnf install libdeflateFedora Rawhide package metadata · libdeflate · source: dl.fedoraproject.org
nix profile install nixpkgs#libdeflatenixpkgs package indexes · pkgs/by-name/li/libdeflate/package.nix · source: api.github.com
sudo pacman -S libdeflateArch Linux sync databases · libdeflate · source: geo.mirror.pkgbuild.com
sudo zypper install libdeflate-developenSUSE Tumbleweed package metadata · libdeflate-devel · source: download.opensuse.org
overview
Heavily optimized DEFLATE/zlib/gzip compression and decompression
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
libdeflate-gunzip | cli | global executable | |
libdeflate-gzip | cli | global executable |
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.
https://github.com/ebiggers/libdeflate
install metadata
| Package key | brew:libdeflate |
|---|---|
| Version | 1.25 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libdeflate |
| Homepage | https://github.com/ebiggers/libdeflate |
| Repository | https://github.com/ebiggers/libdeflate |
| Upstream docs | https://github.com/ebiggers/libdeflate#readme |
| License | MIT |
| Source archive | https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.25.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libdeflate |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libdeflate-dev 1.23-2
headers for whole-buffer compression and decompression library
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate-devlibdeflate-tools 1.23-2
tools for whole-buffer compression and decompression library
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate-toolslibdeflate0 1.23-2
fast, whole-buffer DEFLATE-based compression and decompression
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate0libdeflate
nix profile install nixpkgs#libdeflatelibdeflate-dev 1.19-1build1
headers for whole-buffer compression and decompression library
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate-devlibdeflate-tools 1.19-1build1
tools for whole-buffer compression and decompression library
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate-toolslibdeflate0 1.19-1build1
fast, whole-buffer DEFLATE-based compression and decompression
https://github.com/ebiggers/libdeflate
sudo apt install libdeflate0libdeflate 1.25-r0
Library for fast, whole-buffer DEFLATE-based compression and decompression
https://github.com/ebiggers/libdeflate
sudo apk add libdeflatelibdeflate-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-devlibdeflate-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-staticlibdeflate-utils 1.25-r0
Command line utilities for the DEFLATE library
https://github.com/ebiggers/libdeflate
sudo apk add libdeflate-utilslibdeflate 1.25-3.fc44
Fast implementation of DEFLATE, gzip, and zlib
https://github.com/ebiggers/libdeflate
sudo dnf install libdeflatelibdeflate-devel 1.25-3.fc44
Development files for libdeflate
https://github.com/ebiggers/libdeflate
sudo dnf install libdeflate-devellibdeflate-utils 1.25-3.fc44
Binaries from libdeflate
https://github.com/ebiggers/libdeflate
sudo dnf install libdeflate-utilsmingw32-libdeflate 1.25-3.fc44
MinGW Windows libdeflate library
https://github.com/ebiggers/libdeflate
sudo dnf install mingw32-libdeflatemingw32-libdeflate-utils 1.25-3.fc44
MinGW Windows libdeflate binaries
https://github.com/ebiggers/libdeflate
sudo dnf install mingw32-libdeflate-utilssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.