I have some executables/libraries being placed into the system paths using CMake\'s \"install\" keyword. Is there a built-in mechanism to do something like a \"distclean\",
You could ask the authors of the software to add an 'uninstall' target in CMake, see https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake
so that you can just call make uninstall.
There should be file "install_manifest.txt" after executing "make install". The following command should work:
cat install_manifest.txt | sudo xargs rm