Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-07-2003, 04:22 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 11
Rep:
|
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
|
|
|
07-07-2003, 04:27 PM
|
#2
|
LQ Guru
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153
Rep:
|
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
|
|
|
07-07-2003, 04:42 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 11
Original Poster
Rep:
|
It worked!
Hey Darin,
Thanks a lot, this did the trick!
bp
|
|
|
07-16-2003, 02:10 PM
|
#4
|
Member
Registered: Apr 2003
Location: Baton Rouge, LA
Distribution: Kubuntu 12.04, 12.10, 13.04a
Posts: 244
Rep:
|
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?
|
|
|
07-16-2003, 02:42 PM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
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.
|
|
|
07-17-2003, 02:10 PM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 11
Original Poster
Rep:
|
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
|
|
|
07-17-2003, 03:51 PM
|
#7
|
Member
Registered: Apr 2003
Location: Baton Rouge, LA
Distribution: Kubuntu 12.04, 12.10, 13.04a
Posts: 244
Rep:
|
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 02:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|