Automic VaultAutomic Vault

brew

Install libdeflate with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Heavily optimized DEFLATE/zlib/gzip compression and decompression. Version 1.25 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libdeflate

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libdeflate

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

Linux

Alpine Linux apkverified · 92%
sudo apk add libdeflate

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

Debian aptverified · 92%
sudo apt install libdeflate-dev

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

Fedora dnfverified · 92%
sudo dnf install libdeflate

Fedora Rawhide package metadata · libdeflate · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libdeflate

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

Arch Linux pacmanverified · 92%
sudo pacman -S libdeflate

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

openSUSE zypperverified · 92%
sudo zypper install libdeflate-devel

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

overview

Package summary

Heavily optimized DEFLATE/zlib/gzip compression and decompression

Commands and aliases

  • libdeflate-gunzip
  • libdeflate-gzip

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
libdeflate-gunzipcliglobal executable
libdeflate-gzipcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.25
manager updated
local dataok
upstreamcurrent
latest detectedv1.25

https://github.com/ebiggers/libdeflate

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:libdeflate
Version1.25
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libdeflate
Homepagehttps://github.com/ebiggers/libdeflate
Repositoryhttps://github.com/ebiggers/libdeflate
Upstream docshttps://github.com/ebiggers/libdeflate#readme
LicenseMIT
Source archivehttps://github.com/ebiggers/libdeflate/archive/refs/tags/v1.25.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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