Click to See Complete Forum and Search --> : .tar.gz files


Hermit
03-06-2001, 05:10 AM
Hi -

I recently downloaded a .rpm file and upon installation it was found there are some dependency issues - I needed to d/l three .tar.gz files in order for the program to work. I re-downloaded the original file in .tar.gz format, and the three dependency files as well. I do know how to unpack the files, but I wish to know where do I put them? The file I downloaded is *dsniff*. I have more experience with .rpm's which puts files where they belong and I am usure as to where to put the tarred files. Perhaps usr/local/src? If I uderstand the process correctly, I untar ungzip the dependencies first in the directory I pick and then unpack dsniff. Then, if my memory serves me correctly I run *make* on each of the four files, then *make install* on each. Is that correct?

Sure would appreciate the help of those more familiar with Linux (RH 7.0) than I.

Thanks for your time,

Hermit

LiNuts
03-06-2001, 07:48 AM
Unpack the dependency files, then cd into that dir and look at the README and INSTALL files, that will tell you where to put them.

You can use "Archiver" to open them without unpacking if you want to, and Look at the files that way.

Cheers
LiNuts

KilerCris
03-06-2001, 07:57 AM
tar -zxvf myfile.tar.gz

bdg1983
03-06-2001, 12:12 PM
Put the tar's anywhere you like.

The README's from the package should tell you how to compile the package.

./configure
make
make install

There's a NHF here on installing/compiling software.

trekker
03-06-2001, 01:15 PM
yep... it doesn't matter where you untar them. When you run the install script, it will install them where they are supposed to be. You can get rid of of the files later after you "make install" to clear up valuable disk space but I usually keep the Makefile so that I can uninstall them in future with "make uninstall"

EDAM
03-06-2001, 03:48 PM
Call me an idiot, but how do you "untar" tar.gz files?

trekker
03-07-2001, 12:30 AM
"tar -zxvf <filename>"

You can find out more with "man tar" at the command line.

[ 06 March 2001: Message edited by: trekker ]