LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unzipping files using bz2 (https://www.linuxquestions.org/questions/linux-software-2/unzipping-files-using-bz2-70766/)

bruce64 07-07-2003 03:22 PM

unzipping files using bz2
 
Good afternoon,
I am trying to unzip and install java onto my system. I am unfamiliar with how to properly unzip bz2 files. Any help would be appreciated!

Bruce

darin3200 07-07-2003 03:27 PM

To unzip a file that is only compressed with bz2 use
bunzip2 filename.bz2
to unzip things thar are compressed with .tar.bz2 use
tar -xvjpf filename.tar.bz2

bruce64 07-07-2003 03:42 PM

It worked!
 
Hey Darin,
Thanks a lot, this did the trick!

bp

jdtiede 07-16-2003 01:10 PM

I have a file docs.tar.gz2. When I try bunzip2 docs.tar.gz2 or tar -xvjpf docs.tar.gz2, I am informed that the file isn't a bz2 file and that child status is (2). I don't remember the command I was told to use to compress the file in the first place (a couple of months ago). What else can I try?

stickman 07-16-2003 01:42 PM

I don't know if this happened to you, but a certain browser will do you the favor of unzipping a file during a download without renaming it. Try using the file command to check the file type.

bruce64 07-17-2003 01:10 PM

wrong unzip
 
Good afternoon JD,
You should use gunzip not bunzip. Notice your file name - docs.tar.gz2 because the file ends with gz2, this should tip you off to use gunzip. if it were bz2, then bunzip. I hope this clears things up for you. Good luck!

B64

jdtiede 07-17-2003 02:51 PM

The gz2 was a mistake in transcribing (it actually was bz2), but I'll make a note of that for future reference. Stickman's suggestion that Mozilla would probably unzip it worked. Thanks, Bruce.


All times are GMT -5. The time now is 03:48 PM.