Solved

bz file extension

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

13 Experts available now in Live!

Get 1:1 Help Now