Abaara topic: Bzip2

 

Abaara - Free Knowledge Database & Resources
 ABAARA
Abaara topic: Bzip2
 Categories

 e-Learning Platform

 Web Packages

 Newsletter

eLeaP eLearning Management Systems LMS LCMS Systems. Online training made easy. Free trial now.
 
Bzip2
The title given to this article is incorrect due to technical limitations. The correct title is bzip2.

bzip2 is an open source data compression algorithm and program developed by Julian Seward. Seward made the first public release of bzip2, version 0.15, in July 1996. The compressor's stability and popularity grew over the next several years, and Seward released version 1.0 in late 2000.

bzip2 compresses most files more effectively than more traditional gzip or ZIP, but is slower. Nonetheless, with the constant effect of Moore's Law making computer time less and less important, compression methods like bzip2 have become more popular. Indeed, according to the author, bzip2 gets within ten to fifteen percent of the "best" class of compression algorithms currently known (PPM), although it is roughly twice as fast at compression and six times faster at decompression.

bzip2 uses the Burrows-Wheeler transform to convert frequently recurring character sequences into strings of identical letters. In bzip2 the blocks are all the same size in plaintext, which can be selected by a command-line argument, and are marked in compresstext by bit-sequences derived from the decimal representation of pi.

Originally, bzip2's ancestor bzip used arithmetic coding after the blocksort; this was discontinued because of the patent restriction.

In GNU, bzip2 can be used combined or independently of tar: bzip2 file to compress and bzip2 -d file.bz2 to uncompress (the alias bunzip2 for decompression may also be used).

bzip2's command line flags are mostly the same as in gzip. So, to extract from a bzip2-compressed tar-file you can do this:

bzip2 -cd archivefile.tar.bz2  | tar xvf -

To create a bzip2-compressed tar-file you can do this:

tar cvf - filenames | bzip2 -9 > archivefile.tar.bz2

GNU tar supports a -j flag, which allows you to make tar.bz2 in one go (this is likely the most common form in which you will find bzip2 files):

tar -cvjf archivefile.tar.bz2 file-list

Decompressing in GNU is easy enough:

tar -xvjf archivefile.tar.bz2

External links

Software that can at least decompress bzip2

Free software

  • 7-Zip (http://www.7-zip.org/), archiving and compression GUI for Windows
  • GNU tar supports compressed archives natively
  • Wintarball (http://aegisknight.org/wintarball)

Proprietary software

  • IZArc (http://www.izsoft.dir.bg/) a freeware tar and bzip2 GUI utility
  • Easy-BZ (http://www.komkon.org/~stiles/easy-gz/index.html)
  • PKZIP (http://www.pkware.com/)
  • Power Archiver (http://www.powerarchiver.com) a tar, gzip and bzip2 utility for Windows
  • StuffIt (http://www.stuffit.com/mac/expander/index.html)
  • TUGZip (http://www.tugzip.com/)
  • Ultimate Zip (http://www.ultimatezip.com/) - binary-only freeware
  • Win-RAR (http://www.win-rar.com/)
  • ZipZag (http://www.zipzag.com/)





See also:
| List of archive formats | List of file archivers | Comparison of file archivers |
< Back
 
Web info.abaara.com
 


Categories: Data compression software | Free software | Lossless compression algorithms

 Web Results


 

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License

 

 
Page topic: Bzip2