# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 bzip3

查看 bzip3 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bzip3
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bzip3
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bzip3
```

  证据: MacPorts ports tree: archivers/bzip3/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bzip3
```

  证据: Alpine Linux edge package indexes: bzip3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install bzip3
```

  证据: Debian stable package indexes: bzip3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bzip3
```

  证据: Fedora Rawhide package metadata: bzip3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bzip3
```

  证据: nixpkgs package indexes: pkgs/by-name/bz/bzip3/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S bzip3
```

  证据: Arch Linux sync databases: bzip3 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install bzip3
```

  证据: openSUSE Tumbleweed package metadata: bzip3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/bzip3
```

  证据: Scoop official bucket manifest trees: bucket/bzip3.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bzip3
- **软件包管理器:** Homebrew
- **版本:** 1.5.3
- **来源摘要:** Better and stronger spiritual successor to BZip2
- **主页:** <https://github.com/iczelia/bzip3>
- **仓库:** <https://github.com/iczelia/bzip3>
- **最后更新:** 2026-07-04T16:53:42+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bunzip3 (别名)
- bz3cat (别名)
- bz3grep (别名)
- bz3less (别名)
- bz3more (别名)
- bz3most (别名)
- bzip3 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.5.3
## 项目历史与用法

BZip3 is a modern lossless compressor that explicitly presents itself as a better, faster, stronger spiritual successor to bzip2. It keeps the package shape familiar to Unix users while changing the compression internals substantially.

### 项目历史

The upstream README describes BZip3 as combining a fast Burrows-Wheeler transform using suffix arrays, an order-0 context-mixing entropy coder, and an RLE/Lempel-Ziv-plus-prediction pass. The project copyright statement identifies Kamila Szewczyk as the main author for the 2022-2023 codebase.

The repository history shows public 1.x tags, and the README credits packaging-oriented autotools work, which helped make the project fit ordinary source-package and distribution build flows.

### 采用历史

BZip3 is much newer and narrower than bzip2, but it has already reached Homebrew, Debian, Fedora, Alpine, Arch, MacPorts, Nix, Scoop, Ubuntu, and openSUSE package maps in the input facts. That adoption suggests interest from compression enthusiasts and distribution packagers rather than default system use.

Its adoption pitch is compatibility of workflow, not format compatibility: commands such as `bzip3`, `bunzip3`, `bz3cat`, and `bz3grep` feel familiar to users of bzip2 and gzip-family tools.

### 使用方式

Users run `bzip3` to compress, `bunzip3` to decompress, and helper tools such as `bz3cat`, `bz3grep`, `bz3less`, and `bz3more` to inspect compressed files. The README also documents standard autotools-style source builds with `./configure`, `make`, and `make install`.

The README emphasizes text and source-code compression, including benchmarks against xz, bzip2, zstd, and lrzip combinations. That makes the package most relevant for users comparing archival compression ratios rather than seeking maximum decompression ubiquity.

### 为什么软件包爱好者会关心

BZip3 is interesting to package nerds because it is a deliberate sequel to a classic package rather than a generic new compressor. Its command naming, helper tools, and packaging-friendly build system make it easy for distributions to slot beside bzip2 for experimentation.

Its significance is still emerging: it is not infrastructure in the way bzip2 is, but it is the sort of package compression fans track to see whether an old format family can be reimagined with modern algorithms.

### 时间线

- 2022: BZip3's main codebase copyright period begins.
- 2022: Public 1.x tags begin in the upstream repository.
- 2023: The README documents the LGPLv3-only project, benchmarks, architecture testing, and packaging-friendly autotools build.
- 2020s: BZip3 appears in multiple Unix and cross-platform package managers as a niche compression tool.

### Related projects

- bzip2 is the explicit spiritual predecessor.
- libsais is credited by the README for Burrows-Wheeler transform construction.
- xz, zstd, lrzip, BSC, and Turbo-Range-Coder appear in the README's comparison and benchmark context.

### 来源

- <https://github.com/iczelia/bzip3/blob/master/README.md>
- <https://github.com/iczelia/bzip3/tags>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - bzip3 - 1.5.1-1+b1: normalized package name match | Debian stable package indexes: bzip3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | better, faster and stronger spiritual successor to bzip2 - utilities | https://github.com/kspalaiologos/bzip3
- Debian apt - libbzip3-1 - 1.5.1-1+b1: normalized package name match | Debian stable package indexes: libbzip3-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | better, faster and stronger spiritual successor to bzip2 - runtime | https://github.com/kspalaiologos/bzip3
- Debian apt - libbzip3-dev - 1.5.1-1+b1: normalized package name match | Debian stable package indexes: libbzip3-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | better, faster and stronger spiritual successor to bzip2 - development | https://github.com/kspalaiologos/bzip3
- Nix - bzip3: normalized package name match | nixpkgs package indexes: pkgs/by-name/bz/bzip3/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bzip3 - 1.4.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: bzip3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | better, faster and stronger spiritual successor to bzip2 - utilities | https://github.com/kspalaiologos/bzip3
- Ubuntu apt - libbzip3-0 - 1.4.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libbzip3-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | better, faster and stronger spiritual successor to bzip2 - runtime | https://github.com/kspalaiologos/bzip3
- Ubuntu apt - libbzip3-dev - 1.4.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libbzip3-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | better, faster and stronger spiritual successor to bzip2 - development | https://github.com/kspalaiologos/bzip3
- apk - bzip3 - 1.5.3-r0: normalized package name match | Alpine Linux edge package indexes: bzip3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Better and stronger spiritual successor to BZip2 | https://github.com/iczelia/bzip3
- apk - bzip3-dev - 1.5.3-r0: normalized package name match | Alpine Linux edge package indexes: bzip3-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Better and stronger spiritual successor to BZip2 (development files) | https://github.com/iczelia/bzip3
- apk - bzip3-doc - 1.5.3-r0: normalized package name match | Alpine Linux edge package indexes: bzip3-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Better and stronger spiritual successor to BZip2 (documentation) | https://github.com/iczelia/bzip3
- apk - bzip3-libs - 1.5.3-r0: normalized package name match | Alpine Linux edge package indexes: bzip3-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Better and stronger spiritual successor to BZip2 (libraries) | https://github.com/iczelia/bzip3
- apk - bzip3-static - 1.5.3-r0: normalized package name match | Alpine Linux edge package indexes: bzip3-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Better and stronger spiritual successor to BZip2 (static library) | https://github.com/iczelia/bzip3
- dnf - bzip3 - 1.5.3-3.fc44: normalized package name match | Fedora Rawhide package metadata: bzip3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for compressing and decompressing bzip3 files | https://github.com/iczelia/bzip3
- dnf - bzip3-devel - 1.5.3-3.fc44: normalized package name match | Fedora Rawhide package metadata: bzip3-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Files for developing with bzip3 library | https://github.com/iczelia/bzip3
- dnf - bzip3-grep - 1.5.3-3.fc44: normalized package name match | Fedora Rawhide package metadata: bzip3-grep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Print lines matching a pattern in bzip3-compressed files | https://github.com/iczelia/bzip3
- dnf - bzip3-less - 1.5.3-3.fc44: normalized package name match | Fedora Rawhide package metadata: bzip3-less from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | View bzip3-compressed files with less pager | https://github.com/iczelia/bzip3


## Combined YAML source

View the package source record on GitHub. [combined/bzip3.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bzip3.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
