macOS
brew install bzip2local Homebrew formula metadata
sudo port install bzip2MacPorts ports tree · archivers/bzip2/Portfile · ソース: api.github.com
brew
bzip2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install bzip2local Homebrew formula metadata
sudo port install bzip2MacPorts ports tree · archivers/bzip2/Portfile · ソース: api.github.com
sudo apk add bzip2Alpine Linux edge package indexes · bzip2 · ソース: dl-cdn.alpinelinux.org
sudo apt install bzip2Debian stable package indexes · bzip2 · ソース: deb.debian.org
sudo dnf install bzip2Fedora Rawhide package metadata · bzip2 · ソース: dl.fedoraproject.org
nix profile install nixpkgs#bzip2nixpkgs package indexes · bzip2 · ソース: raw.githubusercontent.com
sudo pacman -S bzip2Arch Linux sync databases · bzip2 · ソース: geo.mirror.pkgbuild.com
sudo zypper install bzip2openSUSE Tumbleweed package metadata · bzip2 · ソース: download.opensuse.org
choco install bzip2Chocolatey community package catalog · bzip2 · ソース: community.chocolatey.org
scoop install main/bzip2Scoop official bucket manifest trees · bucket/bzip2.json · ソース: api.github.com
概要
Freely available high-quality data compressor
履歴
bzip2 is Julian Seward's open-source block-sorting compressor and its companion library, libbzip2. Since the late 1990s it has been one of the standard Unix compression formats for source tarballs, backups, package payloads, and long-lived archives.
The official bzip2 manual identifies Julian Seward as author and gives the 1.0.8 manual release date as 13 July 2019, with copyright running from 1996 through 2019. The Sourceware home page describes bzip2 as a freely available, patent-free, high-quality data compressor organized as both a command-line program and a library.
Technically, bzip2 uses block-sorting compression associated with the Burrows-Wheeler transform, followed by entropy coding. Its design favored compression ratio over speed, and the official site positions it as typically compressing close to much heavier statistical compressors while remaining practical on ordinary Unix systems.
The 1.0 line became the compatibility anchor for the `.bz2` format and libbzip2 API. Sourceware's git tags preserve older public milestones from `bzip2-0.1` through `bzip2-1.0.8`, showing a package with a slow, conservative release culture after its format became infrastructure.
bzip2 adoption followed the familiar Unix pattern: first as a better-compressing alternative to gzip, then as a standard option in tar pipelines, release archives, Linux distributions, and package managers. The command names `bzip2`, `bunzip2`, and `bzcat` intentionally echo gzip's workflow, reducing friction for shell users.
The package's presence across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, Chocolatey, Scoop, and openSUSE reflects near-universal distribution. Even where xz and zstd displaced it for many new archives, bzip2 remains installed because decades of `.bz2` artifacts still need reliable decompression.
Users compress files with `bzip2`, decompress with `bunzip2`, stream with `bzcat`, compare or diff compressed files with `bzcmp` and `bzdiff`, and recover damaged block-based archives with `bzip2recover`.
Developers use libbzip2 when applications need to read or write `.bz2` streams directly. The official manual documents both the command interface and the programming interface, which is why package managers usually split runtime tools and development headers.
bzip2 is package-nerd bedrock: it is one of the archive formats every build tool, mirror, bootstrap script, and source-fetching system eventually has to understand. A working `bunzip2` is boring until a historical tarball or distro source package requires it.
It is also a case study in conservative infrastructure. The compressor is no longer fashionable, but its stable format, simple commands, portable C implementation, and widespread packaging make it one of the quiet dependencies that keeps old source distribution workflows reproducible.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bunzip2 | cli | グローバル実行可能ファイル | |
bzcat | cli | グローバル実行可能ファイル | |
bzcmp | cli | グローバル実行可能ファイル | |
bzdiff | cli | グローバル実行可能ファイル | |
bzegrep | cli | グローバル実行可能ファイル | |
bzfgrep | cli | グローバル実行可能ファイル | |
bzgrep | cli | グローバル実行可能ファイル | |
bzip2 | cli | グローバル実行可能ファイル | |
bzip2recover | cli | グローバル実行可能ファイル | |
bzless | cli | グローバル実行可能ファイル | |
bzmore | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:bzip2 |
|---|---|
| バージョン | 1.0.8 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/bzip2 |
| ホームページ | https://sourceware.org/bzip2/ |
| リポジトリ | https://sourceware.org/git?p=bzip2.git%3Ba%3Dsummary |
| 上流ドキュメント | https://sourceware.org/bzip2/docs.html |
| ライセンス | bzip2-1.0.6 |
| ソースアーカイブ | https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bzip2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
bzip2 1.0.8-6
high-quality block-sorting file compressor - utilities
sudo apt install bzip2bzip2-doc 1.0.8-6
high-quality block-sorting file compressor - documentation
sudo apt install bzip2-doclibbz2-1.0 1.0.8-6
high-quality block-sorting file compressor library - runtime
sudo apt install libbz2-1.0libbz2-dev 1.0.8-6
high-quality block-sorting file compressor library - development
sudo apt install libbz2-devbzip2
nix profile install nixpkgs#bzip2bzip2 1.0.8-5.1
high-quality block-sorting file compressor - utilities
sudo apt install bzip2bzip2-doc 1.0.8-5.1
high-quality block-sorting file compressor - documentation
sudo apt install bzip2-doclibbz2-1.0 1.0.8-5.1
high-quality block-sorting file compressor library - runtime
sudo apt install libbz2-1.0libbz2-dev 1.0.8-5.1
high-quality block-sorting file compressor library - development
sudo apt install libbz2-devbzip2 1.0.8-r6
A high-quality data compression program
sudo apk add bzip2bzip2-dev 1.0.8-r6
A high-quality data compression program (development files)
sudo apk add bzip2-devbzip2-doc 1.0.8-r6
A high-quality data compression program (documentation)
sudo apk add bzip2-docbzip2-static 1.0.8-r6
A high-quality data compression program (static library)
sudo apk add bzip2-staticlibbz2 1.0.8-r6
Shared library for bz2
sudo apk add libbz2bzip2 1.0.8-23.fc44
File compression utility
sudo dnf install bzip2bzip2-devel 1.0.8-23.fc44
Libraries and header files for apps which will use bzip2
sudo dnf install bzip2-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.