Ports for SerenityOS
Collections What's new Versions Info Sign in

bzip2 1.0.8 🞉

bzip2 is a lossless data compression algorithm and program that uses a combination of the Burrows-Wheeler transform and Huffman coding to achieve high compression ratios while maintaining good decompression speed.

cd Ports/bzip2
./package.sh

Bzip2 is a widely used data compression algorithm that uses the Burrows-Wheeler transform and Huffman coding techniques to compress files. The algorithm was developed by Julian Seward and released in 1996. Bzip2 is considered one of the most effective compression algorithms, often outperforming other popular algorithms such as gzip and zip.

The bzip2 compression process involves several steps. First, the input data is transformed using the Burrows-Wheeler transform, which rearranges the data to make it more compressible. Next, the transformed data is run through a move-to-front algorithm that further rearranges the data. Finally, the data is compressed using Huffman coding, which replaces frequently occurring patterns with shorter codes. The resulting compressed data is typically smaller in size than the original data and can be decompressed back to the original form without any loss of information. Bzip2 is widely used for compressing large files, such as software distributions and backups, due to its high compression ratio and efficient memory usage.

Website: https://sourceware.org/bzip2/

Port: https://github.com/SerenityOS/serenity/tree/master/Ports/bzip2

Dependents: boost ffmpeg lrzip python3

Sign in to vote

✍️ Edit this page

Similar ports

Port icon has the following license: Attribution 4.0 International (CC BY 4.0)