Jump to content

Mandriva 2007 - can't decompress .Z file


Guest bobmac
 Share

Recommended Posts

Guest bobmac

Folks,

I've just downloaded a file called UNIXhelp1.3.2.tar.Z which is supposed to be a tutorial. When I go to try to decompress it I get the following message:

 

Could not open the file, probably due to an unsupported file format.

tar:/home/calban/Download/UNIXhelp­ 1.3.2.tar.Z

 

I'm assuming that's because I don't have the appropriate decompression tool.

 

Can anyone help?

 

Bob

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Hello bobmac, the file extension is incomplete. It could be either 'gz', or 'bz2'

Try changing just the extender and see if you can unzip the file. Don't forget Linux is case sensitive, so the GZ is not equal to gz or Gz or gZ. They are all different. on a Linux system.

Edited by SilverSurfer60
Link to comment
Share on other sites

Nope.

 

The filename is correct and even if it weren't, Linux doesn't really care whether a file is for example jpg, Jpeg, JPEG or whatever, it's what's inside that counts.

 

If you're talking about the help file here, you can untar it from the command line like this:

tar xvzf UNIXhelp1.3.2.tar.Z

But all those help files are already online and it's pretty darn fast for me - I'd just use that.

Link to comment
Share on other sites

I'm assuming that's because I don't have the appropriate decompression tool.

Hi Bob,

 

you're right. *.Z compressed files are in the old Unix compression format. You can unpack them after installing ncompress. From the urpmi database:

 

Name : ncompress

Version : 4.2.4

Release : 32mdv2007.0

Group : Archiving/Compression

Size : 34221 Architecture: i586

Source RPM : ncompress-4.2.4-32mdv2007.0.src.rpm Build Host: n4.mandriva.com

Packager : Per ?˜yvind Karlsen <pkarlsen@mandriva.com>

URL : ftp://sunsite.unc.edu/pub/Linux/utils/compress/

Summary : Fast compression and decompression utilities

Description :

The ncompress package contains the compress and uncompress

file compression and decompression utilities, which are compatible

with the original UNIX compress utility (.Z file extensions). These

utilities can't handle gzipped (.gz file extensions) files, but

gzip can handle compressed files.

 

Regards,

 

Stefan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...