setup? as in install? if so
Code:
tar -zxvf foo.tar.gz
cd foo/
there should be and 'INSTALL' file there documenting on how to install the program. in MOST situations it will tell you to:
Code:
./configure
make
make install
you can also look in the man pages (man tar) to see its other options if you want to compress a file/directory