easiest scenario :
sudo-apt get install nameOFyourSoft
goto add or remove programs
good one :
synaptic package manager
download the .tar file containg source, then compile it.
worst case :
it will tell you this depends on that, that depends on this etc. etc. in that case good luck
if you need help always search google.
however you will need build-essentials package.