Automic VaultAutomic Vault

brew

Installer lz4 avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lz4 pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install lz4

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install lz4

MacPorts ports tree · archivers/lz4/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add lz4

Alpine Linux edge package indexes · lz4 · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install lz4

Debian stable package indexes · lz4 · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install lz4

Fedora Rawhide package metadata · lz4 · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#lz4

nixpkgs package indexes · pkgs/by-name/lz/lz4/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S lz4

Arch Linux sync databases · lz4 · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install lz4

openSUSE Tumbleweed package metadata · lz4 · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/lz4

Scoop official bucket manifest trees · bucket/lz4.json · Source: api.github.com

aperçu

Résumé du paquet

Extremely Fast Compression algorithm

Commandes et alias

  • lz4
  • lz4c
  • lz4cat
  • unlz4

historique

Historique du projet et usages

LZ4 is a lossless compression format, C library, and command-line tool centered on very high compression and decompression throughput. The official project describes it as an algorithm with compression above 500 MB/s per core and a decoder that can run in the multiple-GB/s-per-core range, with LZ4_HC available when users want a slower but denser high-compression mode.

Historique du projet

The reference implementation is associated with Yann Collet and dates to the early 2010s; the official library license carries a 2011 copyright line. The project settled into the familiar Unix package shape of a small C library plus CLI programs such as lz4, unlz4, lz4cat, and legacy-compatible lz4c.

LZ4's upstream history is unusually important for package maintainers because the format became embedded below the application layer: libraries, storage systems, language bindings, kernels, databases, and transport protocols all wanted a very fast, low-latency compressor. Later releases kept that core identity while expanding the production surface, including official frame-format support, dictionary APIs, and, in the v1.10.0 release, multithreaded compression work aimed at modern multi-core and high-throughput storage systems.

Historique d'adoption

LZ4 became a default packaging candidate because it fills a practical niche that gzip, bzip2, and xz do not: fast enough for hot paths, simple enough to vendor, and portable enough for every Unix-like distribution. The input package facts show it packaged across Homebrew, Debian/Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, Scoop, and openSUSE-style ecosystems.

In package-manager culture, LZ4 is often installed less as an end-user archiver and more as infrastructure: a build dependency, a runtime shared library, or a fast compressor used by other tools. That makes ABI stability, CLI compatibility, and the distinction between raw blocks and framed .lz4 files recurring concerns for maintainers.

Modes d'utilisation

The lz4 command compresses and decompresses files, while unlz4 and lz4cat provide decompression-oriented entry points. Users pick it when speed is more important than maximum compression ratio, especially for logs, caches, temporary artifacts, backup pipelines, and data streams.

Developers usually consume liblz4 directly for in-memory buffers or the LZ4 frame API when data needs a self-describing stream format. High-compression mode is useful for precompressed assets, but the package's everyday reputation comes from the fast path.

Pourquoi les passionnés de paquets s'y intéressent

LZ4 is a package nerd staple because it is a small C project with huge transitive reach. It shows up as both a leaf CLI and a dependency of larger systems, so distributions care about symbol versions, shared-library packaging, test vectors, frame-format compatibility, and whether downstreams accidentally mix raw LZ4 blocks with framed files.

It also marks a generational shift in compression packaging: instead of treating compression as a storage-only tradeoff, LZ4 made compression cheap enough to appear in latency-sensitive runtime paths.

Chronologie

  • 2011: liblz4 copyright era begins in the official source tree.
  • 2010s: LZ4 spreads from a standalone compressor into Unix package repositories and system libraries.
  • 2024: v1.10.0 adds major multithreading work and promotes dictionary compression support.

Related projects

  • LZ4_HC is the high-compression variant shipped with the same upstream project.
  • lz4-java, python-lz4, and similar bindings expose the format to language ecosystems.
  • Zstandard is another Yann Collet compression project, optimized for a different speed/ratio point.

posture de sécurité

Niveau de risque : blue

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

Classificateur de risque

risque blue · confiance moyen · tool

Pourquoi

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

Signaux

  • text:compress

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 12 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
lz4cliexécutable global
lz4ccliexécutable global
lz4catcliexécutable global
unlz4cliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire1.10.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev1.10.0

https://github.com/lz4/lz4

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:lz4
Version1.10.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/lz4
Page d'accueilhttps://lz4.github.io/lz4/
Dépôthttps://github.com/lz4/lz4
Docs amonthttps://github.com/lz4/lz4#readme
LicenceBSD-2-Clause
Archive sourcehttps://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz
Bouteilledisponible (sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sequoia, sonoma, tahoe, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

liblz4-1 1.10.0-4

Fast LZ compression algorithm library - runtime

https://github.com/lz4/lz4

sudo apt install liblz4-1
  • Section: libs
  • Architecture: amd64
  • Source Package: lz4
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblz4-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblz4-dev 1.10.0-4

Fast LZ compression algorithm library - development files

https://github.com/lz4/lz4

sudo apt install liblz4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lz4
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblz4-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

lz4 1.10.0-4

Fast LZ compression algorithm library - tool

https://github.com/lz4/lz4

sudo apt install lz4
  • Section: utils
  • Architecture: amd64
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lz4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lz4

nix profile install nixpkgs#lz4
  • normalized package name match
  • Correspondance par : Lz4
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lz/lz4/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

liblz4-1 1.9.4-1build1

Fast LZ compression algorithm library - runtime

https://github.com/lz4/lz4

sudo apt install liblz4-1
  • Section: libs
  • Architecture: amd64
  • Source Package: lz4
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblz4-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

liblz4-dev 1.9.4-1build1

Fast LZ compression algorithm library - development files

https://github.com/lz4/lz4

sudo apt install liblz4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lz4
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblz4-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

liblz4-tool 1.9.4-1build1

Fast LZ compression algorithm library - transitional package

https://github.com/lz4/lz4

sudo apt install liblz4-tool
  • Section: universe/utils
  • Architecture: all
  • Source Package: lz4
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblz4-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

lz4 1.9.4-1build1

Fast LZ compression algorithm library - tool

https://github.com/lz4/lz4

sudo apt install lz4
  • Section: universe/utils
  • Architecture: amd64
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lz4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lz4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lz4 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core.

https://github.com/lz4/lz4

sudo apk add lz4
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lz4-dev 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (development files)

https://github.com/lz4/lz4

sudo apk add lz4-dev
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lz4-doc 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (documentation)

https://github.com/lz4/lz4

sudo apk add lz4-doc
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lz4-libs 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (libraries)

https://github.com/lz4/lz4

sudo apk add lz4-libs
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lz4-static 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (static library)

https://github.com/lz4/lz4

sudo apk add lz4-static
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

lz4-tests 1.10.0-r1

LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (tests)

https://github.com/lz4/lz4

sudo apk add lz4-tests
  • License: BSD-2-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lz4
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Lz4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lz4-tests from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

lz4 1.10.0-4.fc44

Extremely fast compression algorithm

https://lz4.github.io/lz4/

sudo dnf install lz4
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lz4
  • 2 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Lz4
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lz4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lz4-devel 1.10.0-4.fc44

Development files for lz4

https://lz4.github.io/lz4/

sudo dnf install lz4-devel
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lz4
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Lz4
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lz4-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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