Before running your program:
Code:
export PATH="<path of folder on your desktop that contains the executable>:$PATH"
But why did the other program install on your desktop?
EDIT: as frieza said about installs normally installing executables to directory/ies in the conventional $PATH.