It's a compressed (.gz) archive (.tar), uncompressed and -archived with (if using GNU tar):
Code:
tar -xzf filename.tar.gz
You can do this in two steps too:
Code:
gunzip filename.tar.gz
tar -xf filename.tar
To install the content, if it's installable (like source code), read the included
INSTALL and/or
README and/or other doc files (which may be under
doc/ or something, too). Typical installing of source code goes like (cd to the source code directory first):
Code:
./configure
make
su
#*# now give root password, or use sudo instead #*#
make install
but it might differ from that, so
read INSTALL, README and other documentation first!