Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

bz file extension

What command do I use to extract .bz files?  
Background: Novice Linux user on RH5.2. Trying install the JDK 1.1.8.  Files downloaded have a .bz extension.  Using the "tar xvzf jre118_v1_glibc-2.1.2.tar.bz" command gets an error message stating that the file is not in gzip format. Using bunzip2 I get the file is not bz2 extension.  
0
jasteed
Asked:
jasteed
1 Solution
 
kiffneyCommented:
run 'file' on the file and see what it is:

file jre118*

Maybe it's been misnamed because bunzip2 should be able to handle it regardless of the extension.  Could it be an incomplete download/corrupted?
0
 
bcolemanCommented:
You probably do not have bzip2 installed?

Here is the site where you can get it
http://sourceware.cygnus.com/bzip2/index.html
0
 
jasteedAuthor Commented:
Accepted - file command showed file type as .bz2.  But, bunzip2 would not returning a " not .bz2 ending" error.  But I cp'd the file into a bz2 ending and I think its working, at least not the same error messages.  I had RPM installed the bzip2 from the RH5.2 distribution and I'm thinking maybe I need a newer version as recommended by another? Thanks to all who answered.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now