Next Previous Contents

## 1. Introduction

Bzip2 is a groovy new algorithm for compressing data. It generally makes files that are 60-70% of the size of their gzip'd counterparts.

This document will take you through a few common applications for bzip2.

Future versions of the document will have applications of libbzip2, the bzip2 C library which bzip2's author, Julian Seward has kindly written. The bzip2 manual, which includes low-level information about the library, can be found here.

Future versions of the document may also include a summary of the discussion over whether (and how) bzip2 should be used in the Linux kernel.

## 1.1 Revision History

### v2.00

Changed the Using bzip2 with less section so .tar.bzip2 files can actually be read. Thanks to Nicola Fabiano for the correction.

Updated buzzit utility.

Updated tar information.

### v1.92

Updated the Getting bzip2 binaries section, including adding S.u.S.E.'s.

### v1.91

Corrected a typo and clarified some shell idioms in the section on using bzip2 with tar. Thanks to Alessandro Rubini for these.

Updated the buzzit tool not to stomp on the original bzip2 archive.

Added bgrep, a zgrep-like tool.

### v1.9

Clarified the gcc 2.7.* problem. Thanks to Ulrik Dickow for pointing this out.

Added Leonard Jean-Marc's elegant way to work with tar.

Added Linus Ãkerlund's Swedish translation.

Fixed the wu-ftpd section per Arnaud Launay's suggestion.

Moved translations to their own section.

### v1.8

Put buzzit and tar.diff in the sgml where they belong. Fixed punctuation and formatting. Thanks to Arnaud Launay for his help correcting my copy. :-)

Dropped xv project for now due to lack of popular interest.

Added teasers for future versions of the document.

### v1.7

Added buzzit utility. Fixed the patch against gnu tar.

### v1.6

Added TenThumbs' Netscape enabler.

Also changed lesspipe.sh per his sugestion. It should work better now.

### v1.5

Added Arnaud Launay's French translation, and his wu-ftpd file.

### v1.4

Added Tetsu Isaji's Japanese translation.

### v1.3

Added Ulrik Dickow's .emacs for 19.30 and higher.

(Also corrected jka-compr.el patch for emacs per his suggestion. Oops! Bzip2's doesn't yet(?) have an "append" flag.)

### v1.2

Changed patch for emacs so it automagically recognizes .bz2 files.

### v1.1

Added patch for emacs.

### v1.0

Round 1.

Next Previous Contents