macOS
brew install lz4local Homebrew formula metadata
sudo port install lz4MacPorts ports tree · archivers/lz4/Portfile · ソース: api.github.com
brew
lz4 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install lz4local Homebrew formula metadata
sudo port install lz4MacPorts ports tree · archivers/lz4/Portfile · ソース: api.github.com
sudo apk add lz4Alpine Linux edge package indexes · lz4 · ソース: dl-cdn.alpinelinux.org
sudo dnf install lz4Fedora Rawhide package metadata · lz4 · ソース: dl.fedoraproject.org
nix profile install nixpkgs#lz4nixpkgs package indexes · pkgs/by-name/lz/lz4/package.nix · ソース: api.github.com
sudo pacman -S lz4Arch Linux sync databases · lz4 · ソース: geo.mirror.pkgbuild.com
sudo zypper install lz4openSUSE Tumbleweed package metadata · lz4 · ソース: download.opensuse.org
scoop install main/lz4Scoop official bucket manifest trees · bucket/lz4.json · ソース: api.github.com
概要
Extremely Fast Compression algorithm
履歴
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.
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.
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.
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.
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
lz4 | cli | グローバル実行可能ファイル | |
lz4c | cli | グローバル実行可能ファイル | |
lz4cat | cli | グローバル実行可能ファイル | |
unlz4 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:lz4 |
|---|---|
| バージョン | 1.10.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/lz4 |
| ホームページ | https://lz4.github.io/lz4/ |
| リポジトリ | https://github.com/lz4/lz4 |
| 上流ドキュメント | https://github.com/lz4/lz4#readme |
| ライセンス | BSD-2-Clause |
| ソースアーカイブ | https://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sequoia, sonoma, tahoe, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lz4 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
liblz4-1 1.10.0-4
Fast LZ compression algorithm library - runtime
sudo apt install liblz4-1liblz4-dev 1.10.0-4
Fast LZ compression algorithm library - development files
sudo apt install liblz4-devlz4 1.10.0-4
Fast LZ compression algorithm library - tool
sudo apt install lz4lz4
nix profile install nixpkgs#lz4liblz4-1 1.9.4-1build1
Fast LZ compression algorithm library - runtime
sudo apt install liblz4-1liblz4-dev 1.9.4-1build1
Fast LZ compression algorithm library - development files
sudo apt install liblz4-devliblz4-tool 1.9.4-1build1
Fast LZ compression algorithm library - transitional package
sudo apt install liblz4-toollz4 1.9.4-1build1
Fast LZ compression algorithm library - tool
sudo apt install lz4lz4 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core.
sudo apk add lz4lz4-dev 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (development files)
sudo apk add lz4-devlz4-doc 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (documentation)
sudo apk add lz4-doclz4-libs 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (libraries)
sudo apk add lz4-libslz4-static 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (static library)
sudo apk add lz4-staticlz4-tests 1.10.0-r1
LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core. (tests)
sudo apk add lz4-testslz4 1.10.0-4.fc44
Extremely fast compression algorithm
sudo dnf install lz4lz4-devel 1.10.0-4.fc44
Development files for lz4
sudo dnf install lz4-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.