If you know this pattern:
./configure make sudo make install
you know how to build and install something in your computer.
Maybe you also know that it’s better to keep the folder you used to build, because you can do:
sudo make uninstall
and – if you’re lucky – the compiled software will be removed from your pc.
There’s a better way to do that.
There is a utility that generates a (Slackware, RPM, or Debian) package of your software and install this package using the package manager:
./configure make sudo checkinstall
You will be able to uninstall the software using your package manager, this way. No more “whereis / locate”, no more “rm -rf”, no more dangling references.