pkg.sopackage field notes

brew / rank 67

Install bzip2 with Homebrew

Freely available high-quality data compressor. Version 1.0.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bzip2

provider-native install command

overview

Package summary

Freely available high-quality data compressor

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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 bottle metadata was recorded.

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
bunzip2executableindexed executableDiscovered from the local executable index.
bzcatexecutableindexed executableDiscovered from the local executable index.
bzcmpexecutableindexed executableDiscovered from the local executable index.
bzdiffexecutableindexed executableDiscovered from the local executable index.
bzegrepexecutableindexed executableDiscovered from the local executable index.
bzfgrepexecutableindexed executableDiscovered from the local executable index.
bzgrepexecutableindexed executableDiscovered from the local executable index.
bzip2executableindexed executableDiscovered from the local executable index.
bzip2recoverexecutableindexed executableDiscovered from the local executable index.
bzlessexecutableindexed executableDiscovered from the local executable index.
bzmoreexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version1.0.8
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bzip2
Version1.0.8
Package managerHomebrew
Homepagehttps://sourceware.org/bzip2/
Bottlenot recorded
Servicenone declared

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
  • curated package history
  • pkgdb category and tag curation