I guess there is a way to look at the install script, but I don't know how to do that, so I'll tell you what I do:
first option.... if you are going to install it in another path, what I do is this:
get this little "install-log" program through here: http://hints.linuxfromscratch.org/hints/install-log.txt
then install your program again in the new path, and do "install-log <package>" afterward. This will give you a text file in /var/log/install-logs of everything that was installed in the package, then all you have to do is go through and delete the files from the previous install that are in the different path.
secon thing i'll do: do "updatedb" and then "locate <part of package name>" (maybe with a | less afterward) this will list all of the files on your system containing the part of the name that you entered... a lot of them may even be in their own directory... also in /usr/lib or something, the files will look like "lib<part of name>.so
(try to keep what you give locate kindof small, so that you have less of a chance to miss anything.)
you can also just delete the binaries, they will usually be called something similar to the program
well, there might be other, better ways, but that's what I do....