Solved

bz file extension

Posted on 2000-04-14
3
377 Views
Last Modified: 2013-12-16
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
Comment
Question by:jasteed
3 Comments
 
LVL 4

Accepted Solution

by:
kiffney earned 100 total points
ID: 2717558
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
 
LVL 1

Expert Comment

by:bcoleman
ID: 2717679
You probably do not have bzip2 installed?

Here is the site where you can get it
http://sourceware.cygnus.com/bzip2/index.html
0
 

Author Comment

by:jasteed
ID: 2717944
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ubuntu 16.04 AMD video card driver issues 20 341
Issue to mail 11 72
Debug VNC connection on CentOS7 server 22 66
Reset Root Password on CentOS 6 4 44
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now