To install some file *.tar.gz, you basically would do:
- Open a console, and go to the directory where the file is
tar -zxvf file.tar.gz
- Read the file INSTALL and/or README to know if you need some dependencies.
Most of the times you only need to:
sudo make install