Solved

bz file extension

Posted on 2000-04-14
3
378 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

803 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