Download the .tar.gz file in the destination directory 
Navigate to directory, gunzip <package name> 
tar –xvf <package name> 
cd to newly created directory 
At this point you need to check README.txt for specific instructions. What follows below are general instructions. 
./configure --prefix=/usr/local make make test (sometimes this is optional) make install