Language Selection

English French German Italian Portuguese Spanish

Create and Extract .gz,.bz2 Files in Debian

Filed under
HowTos

bzip2 and bunzip2 are file compression and decompression utilities. The bzip2 and bunzip2 utilities are newer than gzip and gunzip and are not as common yet, but they are rapidly gaining popularity. The bzip2 utility is capable of greater compression ratios than gzip. Therefore, a bzip2 file can be 10-20% smaller than a gzip version of the same file. Usually, files that have been compressed by bzip2 will have a .bz2 extension.

Installing bzip2 in debian

#apt-get install bzip2

Uncompressing a bzip2 File Using bunzip2

To uncompress a bzip2 file, execute the following command:

#bunzip2 filename.txt.bz2 (where filename.txt.bz2 is the name of the file you wish to uncompress)

The result of this operation is a file called filename.txt. By default, bunzip2 will delete the filename.txt.bz2 file.

Full Story.

More in Tux Machines

Today in Techrights

Linus Torvalds Releases Linux Kernel 3.18 RC1 a Week Early

Linus Torvalds has surprised everyone and launched Linux kernel 3.18 RC1 ahead of time. A new development cycle has started and it will take a few weeks to see what some of the major features added are. Read more

Ubuntu Turns 10, Happy Birthday!

Mark Shuttleworth announced Ubuntu 4.10 "The Warty Warthog Release" on October 20, 2004. It's hard to believe that a decade has passed since then, but we are now getting ready for Ubuntu 14.10 "Utopic Unicorn." Read more

Calligra Gemini - now also for Linux :)

Some people may remember earlier this year when Krita Gemini became (to my knowledge) the first open source software to become greenlit on Steam. For those who don't, yeah, that really happened ;) Krita Gemini was a project created in cooperation between the KDE community's Calligra team, the little software consultancy KO GmbH, and a large semiconductor manufacturer named Intel, who had some devices they needed to be able to show off. Krita Gemini is available on the Steam store, though not yet for Linux (as it turns out, Steam packaging for Linux is even more awkward than building stand-alone installers for Windows, an odd sort of situation for us used to sensible package managers) Read more