Other programs are simply copied to /usr/bin, those are more difficult to find, in part they could be detected by comparing the installed files in synaptic with the directories in the path, that could take too much time, and is not infallible because some strange programs may call libraries or other programs searching in non standard configuration files, certainly those are a very strange case, so