Everything2
Near Matches
Ignore Exact
Full Text
Everything2

bzip2

created by rp

(thing) by rp (1.4 d) (print)   ?   (I like it!) Sun Nov 14 1999 at 9:04:01

Like all things Unix, compression utilities exist in several generations, and the old ones won't go away even when the new ones have been widely accepted.
  1. first we had compress
  2. then, freeze
  3. gzip arrived
  4. bzip2 is the in thing now
Who knows what we'll be using tomorrow. Sun ship zip (i.e. the pkzip compatible zip) with Solaris now.

(thing) by jonnyace (6.5 y) (print)   ?   (I like it!) Mon Feb 26 2001 at 5:56:24

(For completeness sake, here goes...)
Default extension bz2.
Usage (simplest):
  • bzip2 <filenames>
  • bunzip2 <filenames>

Other commands: bzcat, bzip2recover.
Author: Julian Seward (jseward@acm.org)
Homepage: http://sources.redhat.com/bzip2
bzip2 is Open Source software, and has been ported to most common OS platforms. See the homepage for more info.


(thing) by WolfDave (7.4 mon) (print)   ?   (I like it!) Mon Apr 07 2003 at 19:49:50

Open-Source file compression utility (default extension: .bz2) which is fast supplanting gzip as the compression format of choice on unix-like systems.

Functionally, bzip2 is an implementation of the Burrows-Wheeler block-sorting transformation algorithm and Huffman coding. This algorithm significantly outperforms both the Lempel-Ziv based algorithms of gzip and the original unix compress, and the "raw" Huffman codes of PKZIP. It is called "2" because the original bzip used a slightly more efficient arithmetic compression algorithm which sadly was found to be covered by several software patents which limited its utility. The source was re-written to use Huffman codes, and the "2" appended to the name to signify that files it created were not reverse-compatible with the original bzip.

The current version of bzip2 as of the time of writing is 1.0.2. Since version 1.0 the core functionality has been contained in a function library, libbz2, which can be used by programs in a manner similar to zlib to manipulate .bz2 archives directly without having to call an external program. The actual bzip2 program is now a small wrapper around this library. Symlinks to the bzip2 executable are usually made from bunzip2 and bzcat to provide for easy decompression without the need for additional options, and an additional program, bzip2recover, is built which can be used to extract partial data from damaged archives.

The code itself is highly portable and has few prerequisites beyond a sane compiler toolchain. It is known to compile successfully on most versions of unix, Win32 and MacOS.

Bzip2 is written and maintained by Julian Seward and hosted by Red Hat. Source code and precompiled binaries in a variety of formats are available from http://sources.redhat.com/bzip2/


printable version
chaos

self-extracting executable bzip Video files inside .zip archives Burrows-Wheeler block-sorting transformation algorithm
freeze gzip Compression ratio Compress
PkZip First compress it, then encrypt it RAR The *REAL* Obfuscated Perl
Cygwin File Compression .plan Lempel-Ziv algorithm
Douglas Adams zip Win32 zlib
software patent Huffman coding How big is Everything? All animals are equal, but some animals are more equal than others
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes your sibling would have liked:
zoot suit
Baba O'Riley
Benedictus de Spinoza
cyclic
Kicking up leaves as we walk along
Sysadmin cool
Alternatives to Everything2
Pipe links and three-dimensionality
Virginity is not a commodity
Gone in Sixty Seconds - A Theatre Quest
Nephelococcygia
Myrrh
Sugar daddy
New Writeups
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
Lord Brawl
Dr. Horrible's Sing-Along Blog(review)
a8ksh4
regret(idea)
Heisenberg
Editor Log: July 2008(log)
sam512
halfway homes, catacombs, twilight zones(fiction)
This affordable entertainment brought to you by The Everything Development Company