Look at the tar man pages:
for information about command line options to untar. For .tar.gz files use:
and for .tar.bz2 files use:
Best way to untar to a specific directory is to go to that directory and then run the tar command from there, so if the tar file is tarfile.tar.gz and it's in the /home/user directory and you want to extract to the /tmp directory:
tar -xvzf /home/user/tarfile.tar.gz
Not sure about using the archive roller but I suspect that will work as well.
As to how you install the software it will depend upon the software so you'll need to check the site where you obtained it for instructions.