1824879 Members
4052 Online
109675 Solutions
New Discussion юеВ

unzip .bz2 file

 
vinuhcl
Advisor

unzip .bz2 file

Hi HP-UX masters,

Can you please tell me how to unzip a *.bz2 file.

Thanks in advance,

Vinu
3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: unzip .bz2 file

You'll need to install a bzip2 package first.

It's available in the Porting Archive:
http://hpux.its.tudelft.nl/hppd/hpux/Misc/bzip2-1.0.4/

The package contains three commands: bzip2, bunzip2 and bzcat. Their use should be obvious (just like gzip/gunzip/gzcat).

If you need to unzip it on Windows platform, a quick Googling found this:
http://gnuwin32.sourceforge.net/packages/bzip2.htm

MK
MK
Yogeeraj_1
Honored Contributor

Re: unzip .bz2 file

hi Vinu,
also note that, to decompress a .bz2 file:
# bzip2 -d my_file.bz2

Remember, the same program does both compression and decompression. To get decompression by default:
- Unix: symlink bzip2 to bunzip2.

Note that older versions (e.g. bzip2-0.9.5d or bzip2-0.9.0c0 will not work for large (> 2GB) files.


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
vinuhcl
Advisor

Re: unzip .bz2 file

Thanks for the quick reply