Guest bobmac Posted March 3, 2007 Report Share Posted March 3, 2007 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] Quote Link to comment Share on other sites More sharing options...
SilverSurfer60 Posted March 3, 2007 Report Share Posted March 3, 2007 (edited) 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 March 3, 2007 by SilverSurfer60 Quote Link to comment Share on other sites More sharing options...
neddie Posted March 3, 2007 Report Share Posted March 3, 2007 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. Quote Link to comment Share on other sites More sharing options...
SilverSurfer60 Posted March 3, 2007 Report Share Posted March 3, 2007 Of course you are right neddie. I failed to put my brain in gear before opening my mouth. That'll teach me to have a coffee before posting. Quote Link to comment Share on other sites More sharing options...
scoonma Posted March 3, 2007 Report Share Posted March 3, 2007 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 Quote Link to comment Share on other sites More sharing options...
neddie Posted March 3, 2007 Report Share Posted March 3, 2007 Well, I don't have the ncompress package, and I can unpack that particular help file no problem. I think it's done by the tar package, as the info for that mentions compression/decompression built-in. Quote Link to comment Share on other sites More sharing options...
SilverSurfer60 Posted March 3, 2007 Report Share Posted March 3, 2007 Once again neddie you are correct, I tried it myself and uncompressed the files no problem, although it has to be done from the command line. Quote Link to comment Share on other sites More sharing options...
scoonma Posted March 3, 2007 Report Share Posted March 3, 2007 Well, I don't have the ncompress package, and I can unpack that particular help file no problem. I think it's done by the tar package, as the info for that mentions compression/decompression built-in. Tar is probably relying on zlib installed... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.