bzip2
What it is
bzip2 is a freely available data compressor for working with compressed files. It supports BZ2 (.bz2), BZ (.bz), TBZ2 (.tbz2) and TBZ (.tbz) archives, with command-line tools for Unix/Linux and Win32 systems. The maker says compression typically comes within 10% to 15% of the best available PPM-family techniques, while running about twice as fast for compression and six times faster for decompression. Its limited recovery support may allow undamaged portions of a file to be decompressed after media errors. The libbzip2 library lets programs read and write .bz2 files or compress data in memory. Command-line flags are similar to GNU Gzip's, and the distribution should compile unmodified on Unix and Win32. bzip2 is open source under a BSD-style license. The official site lists version 1.0.8 as current stable and provides source code, not executables. Building has a good chance of success with an ANSI C compiler and at least 8 megabytes of spare memory; documentation formats include HTML, PDF, PostScript and Unix man pages.
For and against
For
- Free and open source under a BSD-style license
- Includes command-line tools
- libbzip2 supports .bz2 files and in-memory compression
- Limited recovery may preserve undamaged file portions
- Documentation is included in several formats
Against
- Downloads provide source code, not executables
- Archive encryption is not supported
- Split archives are not supported
The verdict
bzip2 offers compression tools and a library, with limited recovery support and a BSD-style open-source license. Users seeking prebuilt executables will not find them on the official downloads page.
Who it suits
bzip2 suits users who need a command-line compressor or developers who want a library for .bz2 files and in-memory compression. It is a source-code distribution for Unix/Linux and Win32 environments.
Plans and prices
bzip2
Freely available; source code distribution
Read 7 Oct 2026 · sourceware.org
On the record
- Compatibility
- Its command-line flags are similar to GNU Gzip's, and the distribution should compile unmodified on Unix and Win32 systems.sourceware.org · read 7 Oct 2026
- Compression
- The maker says bzip2 typically compresses files to within 10% to 15% of the best available PPM-family techniques.sourceware.org · read 7 Oct 2026
- Current stable version
- The official site lists bzip2 1.0.8 as the current stable version.sourceware.org · read 7 Oct 2026
- Documentation
- The source tarball includes pre-built documentation in HTML, PDF, PostScript, and Unix man-page formats.sourceware.org · read 7 Oct 2026
- Downloads
- The downloads page provides source code and says no executables are available there.sourceware.org · read 7 Oct 2026
- Error recovery
- bzip2 supports limited recovery from media errors and may decompress undamaged parts of a damaged file.sourceware.org · read 7 Oct 2026
- Library
- libbzip2 provides an interface for programs to read and write .bz2 files or compress data in memory.sourceware.org · read 7 Oct 2026
- License
- The maker describes bzip2 as open source under a BSD-style license.sourceware.org · read 7 Oct 2026
- Patent statement
- The author says he believes bzip2 does not use patented algorithms but cannot guarantee this because he has not carried out a patent search.sourceware.org · read 7 Oct 2026
- Purpose
- bzip2 is a freely available, high-quality data compressor.sourceware.org · read 7 Oct 2026
- Release signing
- The official downloads page says releases are PGP signed and provides a signature file and signing key.sourceware.org · read 7 Oct 2026
- Resource requirement
- The downloads page says building has a good chance of success with an ANSI C compiler and at least 8 megabytes of spare memory.sourceware.org · read 7 Oct 2026
- Speed
- The maker says bzip2 is around twice as fast at compression and six times faster at decompression than those PPM-family techniques.sourceware.org · read 7 Oct 2026