enable program for all users (root included) installed via Terminal from source (tarball)

Solution 1:

$ more /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
$

$ more /etc/manpaths
/usr/share/man
/usr/local/share/man
$ 

Try with this like Root:

# echo '/usr/local/SomeProgram/bin' >> /etc/paths
# echo '/usr/local/SomeProgram/man' >> /etc/manpaths