"Bzip" redirects here. For the protein domain, see bZIP domain.
bzip2
Original author(s)
Julian Seward
Developer(s)
Mark Wielaard, Federico Mena, Micah Snyder
Initial release
18 July 1996; 27 years ago (1996-07-18)[1]
Stable release
1.0.8
/ 13 July 2019; 4 years ago (2019-07-13)
Repository
https://gitlab.com/bzip2/bzip2/
Operating system
Cross-platform[which?]
Type
Data compression
License
Modified zlib license[2]
Website
sourceware.org/bzip2/
bzip2
Filename extension
.bz2
Internet media type
application/x-bzip2
Type code
Bzp2
Uniform Type Identifier (UTI)
public.bzip2-archive[3]
Magic number
BZh
Developed by
Julian Seward
Type of format
Data compression
Open format?
Yes
bzip2 is a free and open-source file compression program that uses the Burrows–Wheeler algorithm. It only compresses single files and is not a file archiver. It relies on separate external utilities for tasks such as handling multiple files, encryption, and archive-splitting.
bzip2 was initially released in 1996 by Julian Seward. It compresses most files more effectively than older LZW and Deflate compression algorithms but is slower. bzip2 is particularly efficient for text data, and decompression is relatively fast. The algorithm uses several layers of compression techniques, such as run-length encoding (RLE), Burrows–Wheeler transform (BWT), move-to-front transform (MTF), and Huffman coding.
bzip2 compresses data in blocks between 100 and 900 kB and uses the Burrows–Wheeler transform to convert frequently recurring character sequences into strings of identical letters. The move-to-front transform and Huffman coding are then applied. The compression performance is asymmetric, with decompression being faster than compression.
The algorithm has gone through multiple maintainers since its initial release, with Micah Snyder being the maintainer since June 2021. There have been some modifications to the algorithm, such as pbzip2, which uses multi-threading to improve compression speed on multi-CPU and multi-core computers.
bzip2 is suitable for use in big data applications with cluster computing frameworks like Hadoop and Apache Spark, as a compressed block can be decompressed without having to process earlier blocks.
^bzip2/README, 18 July 1996 (version 0.15)
^Seward, Julian. "bzip2 and libbzip2". sourceware.org.
^"bz2". Apple Developer Documentation: Uniform Type Identifiers. Apple Inc.
bzip2 is a free and open-source file compression program that uses the Burrows–Wheeler algorithm. It only compresses single files and is not a file archiver...
gzip and bzip2. Decompression speed is higher than bzip2, but lower than gzip. Compression can be much slower than gzip, and is slower than bzip2 for high...
implementations originally come from NetBSD, and support decompression of bzip2 and the Unix pack format. An alternative compression program achieving 3-8%...
these archive formats Checksum (integrity) verification for ARJ, BZIP2, CAB, GZ, BZIP2, RAR, XZ, ZIP and 7z archives Multithreaded CPU compression and...
Although the bz prefix may suggest that bzip2 compression is used, this is not the case.[citation needed] (The bzip2 package is often distributed with tools...
and less expansion of incompressible data. Bzip2 – The standard Burrows–Wheeler transform algorithm. Bzip2 uses two reversible transformations; BWT, then...
contributor who lives in Stuttgart. He is commonly known for creating the bzip2 compression tool in 1996, as well as the valgrind memory debugging toolset...
initial LZ77-style string matching on a 900 MB dictionary window, followed by bzip2-based Burrows–Wheeler transform and entropy coding (Huffman) on 900 kB output...
gzip, bzip2 and xz are compression formats rather than archive formats. Notes: ^ Tar implementations call the external programs gzip and bzip2, 7z, xz...
extensions for the PHP programming language. .NET Apache BCMath Brotli Bzip2 Calendars CCVS ClibPDF COM cURL DB++ IBM Db2 dBase DBM dbx DOM XML FileMaker...
Users of the Unix tools use additional compression tools, such as gzip, bzip2, or xz, to compress the archive file after packing or remove compression...
example, the CRC32 used in Gzip and Bzip2 use the same polynomial, but Gzip employs reversed bit ordering, while Bzip2 does not. Note that even parity polynomials...
throughout, the kernel was patched to support loading an image compressed with Bzip2, and in many cases older or alternate versions of programs were selected...
produce a self-extracting executable ^3 Per-file compression with gzip, bzip2, lzo, xz, lzma (as opposed to compressing the whole archive). An individual...
Zipped", even though it is not a simple zip archive. The format uses zlib or bzip2 to compress the data, and may use AES-128,192 or 256 encryption in the CBC...
tokens are used in the wild by either servers or clients: bzip2 – compression based on the free bzip2 format, supported by lighttpd lzma – compression based...
reversible transform for making textual data more compressible, used by bzip2 Huffman coding – Entropy encoding, pairs well with other algorithms Lempel-Ziv...
close to lzma, lzham, and ppmx, and performs better[vague] than lza, or bzip2.[improper synthesis?] Zstandard reaches the current Pareto frontier, as...
TBZ, tbz, or TbZ can refer to: A computer file, the result of tar and bzip2 operations. Tetrabenazine, a drug Thiabendazole, a parasiticide Tabriz International...