Linux From Scratch: Version 5.0-pre1
Prev | Appendix A. Package descriptions and dependencies | Next

# Bzip2

For installation instructions see the Section called Installing Bzip2-1.0.2 in Chapter 6.

## Official Download Location

Bzip2 (1.0.2):
http://sources.redhat.com/bzip2/

## Contents of Bzip2

(Last checked against version 1.0.2.)

Bzip2 is a block-sorting file compressor which generally achieves a better compression than the traditional `gzip` does.

Bzip2 installs the following files:

### Program Files

bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff, bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless and bzmore

### Library Files

libbz2.a, libbz2.so (link to libbz2.so.1.0), libbz2.so.1.0 (link to libbz2.so.1.0.2) and libbz2.so.1.0.2

##

## Descriptions

(Last checked against version 1.0.2.)

### Program file descriptions

#### bunzip2

bunzip2 decompresses files that are compressed with bzip2.

#### bzcat

bzcat (or bzip2 -dc) decompresses all specified files to the standard output.

#### bzcmp, bzdiff

bzcmp and bzdiff are used to invoke the cmp or the diff program on bzip2 compressed files.

#### bzegrep, bzfgrep, bzgrep

bzegrep, bzfgrep, and bzgrep invoke either egrep, fgrep, or grep (respectively) on bzip2-compressed files.

#### bzip2

bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors (such as the traditional `gzip` utility) and approaches the performance of the PPM family of statistical compressors.

#### bzip2recover

bzip2recover recovers data from damaged bzip2 files.

#### bzless

bzless is a filter which allows examination of compressed or plain text files, one screenful at a time on a soft-copy terminal, like less.

#### bzmore

bzmore is a filter which allows examination of compressed or plain text files, one screenful at a time on a soft-copy terminal, like more.

### Library file descriptions

#### libbz2

libbz2 is the library for implementing lossless, block-sorting data compression, using the Burrows-Wheeler algorithm.

##

## Bzip2 Installation Dependencies

(Last checked against version 1.0.1.)

Bash: sh
Binutils: ar, as, ld, ranlib
Coreutils: cp, ln, rm
GCC: cc1, collect2, cpp0, gcc
Make: make

Prev | Home | Next
Bison | Up | Coreutils