To verify the presence of a program on your system and retrieve its path...
run: which nomeprogramma.
If you execute the command as normal user and get no answer, try to run it as root.
For example, running:
which perl
you should get the result:
/usr/bin/perl
