Just a note, of course, that you can run 'updatedb' (as root) whenever you'd like.
And, depending on your package management system, you can probably query what was installed and look for whatever ended up in a bin directory. Like if I compile 'xlockmore' on Slack and install it with checkinstall:
Code:
~
1017>> cdp
/var/log/packages
1018>> grep bin xlockmore-5.10-i386-1
usr/local/bin/
usr/local/bin/xlock
usr/local/bin/xmlock
In that case, guessing 'xlockmore' would be wrong but that or just looking in the source directory and seeing what executables were produced by the compile process and/or looking at the makefile in the 'install' section to see what was sent where would do. I'm sure rpms have some kind of query option.
I was thinking this was different somehow when I started writing this post but I guess it's just a variation of what bulliver said.