Hello, welcome to LQ
To install a program properly, better use the repositories containing binary packages for your distribution and package management tools included in it, this way you won't have to compile apps yourself but in some rare cases and your system will stay clean.
One more bit of advise: always use packages officially supported by debian for your version, else sooner or later you will fall into what some of us call a dependencies quagmire (or nightmare) and your system will not stay consistent, mainly because the required apps and libraries needed for dynamic linking (the DLLs, in Windows parlance) by the different apps you want to install are not at the same version.
I am not a debianer, but the packages management tools you can use are listed
here.