🍺 BREW Explorer

← all formulae

bzip3

brew install bzip3 v1.5.3 LGPL-3.0-only

Better and stronger spiritual successor to BZip2

33
30-day installs · #5612
64
90-day · #6650
360
365-day · #5882
1.2k
★ GitHub stars · updated 2mo ago

GitHub topics

compression

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Better and stronger spiritual successor to BZip2",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:03+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bzip3",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-14T07:52:18Z",
  "github_readme_excerpt": "# BZip3\n\n[![Build](https://github.com/iczelia/bzip3/actions/workflows/build.yml/badge.svg)](https://github.com/iczelia/bzip3/actions/workflows/build.yml)\n\nA better, faster and stronger spiritual successor to BZip2. Features higher compression ratios and better performance thanks to a order-0 context mixing entropy coder, a fast Burrows-Wheeler transform code making use of suffix arrays and a RLE with Lempel Ziv+Prediction pass based on LZ77-style string matching and PPM-style context modeling.\n\nLike its ancestor, **BZip3 excels at compressing text or code**.\n\n## Installation\n\n```console\n# If using a git clone (not needed for source packages), first...\n$ ./bootstrap.sh\n\n# All...\n$ ./configure\n$ make\n$ sudo make install\n```\n\nAlternatively, you might be able to install bzip3 using your system\u0027s package manager:\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/bzip3.svg?columns=3)](https://repology.org/project/bzip3/versions)\n\nOn macOS, you can use [Homebrew](https://brew.sh) to easily install:\n\n```console\n$ brew install bzip3\n```\n\n## Perl source code benchmark\n\nFirst, I have downloaded every version of Perl5 ever released and decompressed them.\n\n```bash\n% wget -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories https://www.cpan.org/src/5.0/\n% for g in *.gz; do gunzip $g; done\n% ls -la | wc -l\n262\n```\n\nThen, I put all the resulting `.tar` files in a single `.tar` file and tried to compress it using various compressors:\n\n```\nxz -T16 -9 -k all.tar  10829.91s user 26.91s system 1488% cpu 14658M memory 12:09.24 total\nbzip2 -9 -k all.tar  981.78s user 9.77s system 95% cpu 8M memory 17:16.64 total\nbzip3 -e -b 256 -j 12 all.tar  2713.81s user 16.28s system 634% cpu 18301M memory 7:10.10 total\nbzip3 -e -b 511 -j 4 all.tar  17.65s user 12.19s system 170% cpu 12178M memory 7:08.65 total\nzstd -T12 -16 all.tar  4162.94s user 16.40s system 1056% cpu 687M memory 6:35.62 total\n```\n\nThe results follow:\n\n| Method           | Compressed size (bytes) |\n| -----",
  "github_repo": "kspalaiologos/bzip3",
  "github_stars": 1214,
  "github_topics": [
    "compression"
  ],
  "homepage": "https://github.com/kspalaiologos/bzip3",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 33,
  "installs_365d": 360,
  "installs_90d": 64,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-3.0-only",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bzip3",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5612,
  "rank_365d": 5882,
  "rank_90d": 6650,
  "raw_hash": "e7070967dd3d76b9",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bzip3.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.5.3",
  "versioned_formulae": [],
  "why_use_this": null
}