Linux - SoftwareThis 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.
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.
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!
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
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?
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.