As a developer you often end up installing random extra software because your distro hasn’t caught up yet. And despite best efforts end up with cruft from old installs.
Enter checkinstall. Instead of “make install” run “checkinstall” and it will make a binary package (deb,rpm,etc) of the files which would have been installed. Now they show up in the package manager and are easily uninstallable. Wonderful.