Automic VaultAutomic Vault

brew

bzip2 を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

bzip2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install bzip2

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install bzip2

MacPorts ports tree · archivers/bzip2/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add bzip2

Alpine Linux edge package indexes · bzip2 · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install bzip2

Debian stable package indexes · bzip2 · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install bzip2

Fedora Rawhide package metadata · bzip2 · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#bzip2

nixpkgs package indexes · bzip2 · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S bzip2

Arch Linux sync databases · bzip2 · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install bzip2

openSUSE Tumbleweed package metadata · bzip2 · ソース: download.opensuse.org

概要

パッケージ概要

Freely available high-quality data compressor

コマンドとエイリアス

  • bunzip2
  • bzcat
  • bzcmp
  • bzdiff
  • bzegrep
  • bzfgrep
  • bzgrep
  • bzip2
  • bzip2recover
  • bzless
  • bzmore

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 1996: Julian Seward's bzip2 copyright history begins.
  • 1997: Early public tags such as `bzip2-0.1` appear in the official Sourceware git history.
  • 2000: The 1.0 series establishes the long-lived format and library baseline.
  • 2010: bzip2 1.0.6 becomes a widely packaged stable release.
  • 2019: bzip2 1.0.8 is released and documented as the current stable version on Sourceware.

Related projects

  • gzip is the older Unix compressor whose command-line conventions bzip2 intentionally resembles.
  • xz, zstd, and lzip are common later alternatives in source distribution and package-manager ecosystems.
  • libbzip2 is the library interface shipped with the command-line program for applications that need `.bz2` support.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:compress

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
bunzip2cliグローバル実行可能ファイル
bzcatcliグローバル実行可能ファイル
bzcmpcliグローバル実行可能ファイル
bzdiffcliグローバル実行可能ファイル
bzegrepcliグローバル実行可能ファイル
bzfgrepcliグローバル実行可能ファイル
bzgrepcliグローバル実行可能ファイル
bzip2cliグローバル実行可能ファイル
bzip2recovercliグローバル実行可能ファイル
bzlesscliグローバル実行可能ファイル
bzmorecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.0.8
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://sourceware.org/bzip2/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://sourceware.org/bzip2/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namebzip2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

bzip2 1.0.8-6

high-quality block-sorting file compressor - utilities

https://sourceware.org/bzip2/

sudo apt install bzip2
  • Section: utils
  • Architecture: amd64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Bzip2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bzip2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

bzip2-doc 1.0.8-6

high-quality block-sorting file compressor - documentation

https://sourceware.org/bzip2/

sudo apt install bzip2-doc
  • Section: doc
  • Architecture: all
  • Source Package: bzip2
  • normalized package name match
  • 一致条件: Bzip2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bzip2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbz2-1.0 1.0.8-6

high-quality block-sorting file compressor library - runtime

https://sourceware.org/bzip2/

sudo apt install libbz2-1.0
  • Section: libs
  • Architecture: amd64
  • Source Package: bzip2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Bzip2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbz2-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbz2-dev 1.0.8-6

high-quality block-sorting file compressor library - development

https://sourceware.org/bzip2/

sudo apt install libbz2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: bzip2
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Bzip2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbz2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bzip2

nix profile install nixpkgs#bzip2
  • normalized package name match
  • 一致条件: Bzip2
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: bzip2 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

bzip2 1.0.8-5.1

high-quality block-sorting file compressor - utilities

https://sourceware.org/bzip2/

sudo apt install bzip2
  • Section: utils
  • Architecture: amd64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Bzip2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bzip2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

bzip2-doc 1.0.8-5.1

high-quality block-sorting file compressor - documentation

https://sourceware.org/bzip2/

sudo apt install bzip2-doc
  • Section: doc
  • Architecture: all
  • Source Package: bzip2
  • normalized package name match
  • 一致条件: Bzip2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bzip2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libbz2-1.0 1.0.8-5.1

high-quality block-sorting file compressor library - runtime

https://sourceware.org/bzip2/

sudo apt install libbz2-1.0
  • Section: libs
  • Architecture: amd64
  • Source Package: bzip2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Bzip2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbz2-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libbz2-dev 1.0.8-5.1

high-quality block-sorting file compressor library - development

https://sourceware.org/bzip2/

sudo apt install libbz2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: bzip2
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Bzip2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbz2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

bzip2 1.0.8-r6

A high-quality data compression program

https://sourceware.org/bzip2/

sudo apk add bzip2
  • License: bzip2-1.0.6
  • Architecture: x86_64
  • Source Package: bzip2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Bzip2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bzip2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bzip2-dev 1.0.8-r6

A high-quality data compression program (development files)

https://sourceware.org/bzip2/

sudo apk add bzip2-dev
  • License: bzip2-1.0.6
  • Architecture: x86_64
  • Source Package: bzip2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Bzip2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bzip2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bzip2-doc 1.0.8-r6

A high-quality data compression program (documentation)

https://sourceware.org/bzip2/

sudo apk add bzip2-doc
  • License: bzip2-1.0.6
  • Architecture: x86_64
  • Source Package: bzip2
  • normalized package name match
  • 一致条件: Bzip2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bzip2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bzip2-static 1.0.8-r6

A high-quality data compression program (static library)

https://sourceware.org/bzip2/

sudo apk add bzip2-static
  • License: bzip2-1.0.6
  • Architecture: x86_64
  • Source Package: bzip2
  • normalized package name match
  • 一致条件: Bzip2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bzip2-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libbz2 1.0.8-r6

Shared library for bz2

https://sourceware.org/bzip2/

sudo apk add libbz2
  • License: bzip2-1.0.6
  • Architecture: x86_64
  • Source Package: bzip2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Bzip2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libbz2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

bzip2 1.0.8-23.fc44

File compression utility

https://sourceware.org/bzip2

sudo dnf install bzip2
  • License: BSD-4-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bzip2
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Bzip2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bzip2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bzip2-devel 1.0.8-23.fc44

Libraries and header files for apps which will use bzip2

https://sourceware.org/bzip2

sudo dnf install bzip2-devel
  • License: BSD-4-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: bzip2
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Bzip2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bzip2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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