Click to See Complete Forum and Search --> : TAR.GZ


jon787
08-07-2001, 10:14 AM
Okay how do I go about opening and installing a program in this format? I know winzip can do it but I'm not using windows right now.

I decided I better learn how to do this now (instead of using the easier??? rpm way) instead of later.

[ 07 August 2001: Message edited by: jon787 ]

mrBen
08-07-2001, 10:25 AM
Ok, you are looking at a compressed archive file. Its either going to be a binary or a source file. I'll guess source would be the most helpful at the moment:

1. Copy file to useful directory (/home/me/progs, or /usr/local/, or something else)

2. type tar -zxvf file.tar.gz

This invokes the tar program with the following flags
-z unzip first
-x extract
-v verbose (lots of info)
-f erm - don't remember, just do it ;)

3. Go into the new directory

4. type ./configure, then make, then make install (or just ./configure; make; make install for ease of use).

Hopefully it'll all work. Then type ./file to run the prog.

:)

L.I. Surfer
08-07-2001, 10:28 AM
gunzip "filename" (no quotes)
tar -xvf "filename" (no quotes)

or to do it at once tar -xvzf "filename" (no quotes)

then you'll be left with a directory named after the file name, cd to the directory and try "make install", unless it has its own install script then use that instead. :cool:

Necro Lin
08-07-2001, 10:43 AM
Thanks, I've been shying away from learning how to do that for ... some time ... now I know. Cool. Thanks. :D