1833777 Members
2053 Online
110063 Solutions
New Discussion

Uncompressing a file

 
Jade Bulante
Frequent Advisor

Uncompressing a file

I have a file called jre.tar.z and I tried several ways to uncompress it but nothing works. Please let me know if you know the syntax or command.

Thanks.
7 REPLIES 7
Denver Osborn
Honored Contributor

Re: Uncompressing a file

uncompress jre.tar.z, you can then use tar on the jre.tar file.

If you have other questions regarding the installation of JRE do a search in the forums. I saw a handful of posts out there. Here's one that might be helpful.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa27937f45ef7d4118fef0090279cd0f9,00.html

-denver
boley janowski
Trusted Contributor

Re: Uncompressing a file

you may need to move the jre.tar.z file to a jre.tar.Z for uncompress.

cp jre.tar.z jre.tar.Z
uncompress jre.tar.Z
tar xvf jre.tar

good luck!
CHRIS_ANORUO
Honored Contributor

Re: Uncompressing a file

I have had this problem before. FTP the file back to windows environment and unzip it with winzip, then ftp the unzipped file back to you unix box.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Jim Moffitt_1
Valued Contributor

Re: Uncompressing a file

I agree with Boley, the z tag should be a capital Z.
Wieslaw Krajewski
Honored Contributor

Re: Uncompressing a file

Hi,

Follow the Chris' advice.

and check

man gzip

where you can find that

"... The default extension is -gz for VMS, z for
MSDOS, OS/2 FAT, Windows NT FAT and Atari.

Hope this helps.

Rgds.
Permanent training makes master
Vincenzo Restuccia
Honored Contributor

Re: Uncompressing a file

#gunzip jre.tar.z
#tar xvf jre.tar
Chris Calabrese
Valued Contributor

Re: Uncompressing a file

A .z extension could also mean
that the file was compressed
with 'pack' (rather than being
compressed with 'compress' and
having the '.Z' changed to '.z').

Try 'unpack '
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader