Click to See Complete Forum and Search --> : .tgz


redhatter
07-28-2001, 01:41 PM
Just a quick dumb question:

I downloaded a piece of software as a .tgz filetype. The installation instructions tell me to cd into the directory, whick I did, then issue the following command:

sh ./filename.bin

The problem is, its not a .bin file! When I try the same command, but with a .tgz extension, it says 'cannot execute binary file'.

How do I install this package?

Thanks ;)

nuisance
07-28-2001, 01:55 PM
Hey, I fellow South Carolinian! :)

Anyway, they probably meant for you to do this first :

tar xvzf <file>

then switch into the newly-created directory (which hopefully has that .bin file they're talking about), and issue the command they gave you.

[ 28 July 2001: Message edited by: nuisance ]

redhatter
07-28-2001, 02:15 PM
Hey, so I'm not the only Linux user in the state ;-). I'm up here in sunny Greenville.

Thanks for the info. However, when I issue:

tar xvzf ./LimeWireLinux.tgz

it comes back with:

gzip: stdin: not in zip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

:(

Not sure what to do here. I returned to my file manager, checked out the directory it the file was downloaded into, and its still in .tgz format.

Any help would be much appreciated!

boblucci
07-28-2001, 02:24 PM
try it like this

tar -zxvf nameofdownloadedfile.tgz

it might need to see the "z" first?

also dont put ./ before the file to be unzipped

[ 28 July 2001: Message edited by: boblucci ]

redhatter
07-28-2001, 02:34 PM
Hmmm. I tried it as you mentioned:

tar -zxvf LimeWire Linux.tgz

And received the same error mentioned above:

gzip: stdin: not in zip format
tar: Child returned status 1
tar: Error exit delayed from previous errors


I tried deleting the file, and downloading it again (hey, why not). But the same holds true.

bdg1983
07-28-2001, 02:38 PM
Try gunzip nameofthefile.tgz first.
Then you try tar -xvf nameofthefile.tar which it propably is named then.

redhatter
07-28-2001, 02:59 PM
I tried:

gunzip LimeWireLinux.tgz

and got:

gzip: LimeWireLinux.tgz: not in zip format

So then I tried substituting 'unzip' for 'gunzip' in the above command

This caused a number of .dll, .class, and .gif files to infate. I retried the above mentioned commands (gunzip, tar). Still no luck.

I do appreciate the help.

bdg1983
07-28-2001, 03:09 PM
When you typed unzip ... did the format change the ending to .tar ?
yourfile.tar ?
When the ending is .tgz, I always type gunzip filename.tgz ... then the filename changes to filename.tar .. then you can do the tar -xvf filename.tar. this will extract the directory and everything. Are you sure you typed it correctly ?

redhatter
07-28-2001, 03:44 PM
I've been going through all the steps, from download to gunzip, and still no luck.

Every time i tried gunzip, it told me the file was not in gzip format. I've tried different sources for my download, and I keep hitting this briack wall.

When I typed unzip (without the g), and my filename, I used the .tgz extension. This appeared to be doing something, it inflated a bunch of files. However, none of the files have a .tar or .bin extension.

Any ideas?
Thanks :confused:

bdg1983
07-28-2001, 05:16 PM
Sounds strange...
The gz says it is a gunzip file, and the t says it`s a tar. Normally when extracting things in linux you can try to look at the ending and place it first, like I did when first getting linux. Had a thing with a .bz2 ending... Took me days before I managed to type bunzip2 filename.bz2 If gunzip and the stuff doesn`t work, and if unzip doesn`t create any directory .. I suggest you download it again, see if it works this time. Can you give me the url, I`ll see if I can extract it on my machine.

redhatter
07-28-2001, 05:53 PM
MoonX, thanks.

If you could check it out it'd be great:
the url is:
http://www9.limewire.com/download/LimeWireLinux.tgz

Let me know if you have any luck.

Thanks!

Strike
07-28-2001, 06:24 PM
redhatter, I don't think your download completed

redhatter
07-28-2001, 07:32 PM
I think I finally did it, although I have no idea how or what I did differently. However, I ran into a whole other problem with the Java 2 Runtime environment. To prevent this thread from becoming out of control, I decided to open a new one "Java2 Runtime Evironment"

Thanks for all the input ;)

Like Johnny 5 in "Short Circuit", I need input (ok that was terrible).

Sephiroth1
07-28-2001, 08:16 PM
tar -xvzf x.tgz
or
tar -xvzf x.tar.gz