Is there anyway of removing files installed by running the command
The majority of packages that have
This, of course, only works properly if you keep the original package directory or reconfigure it using the same parameters for
On Ubuntu, it's actually pretty easy:
Run Make and let checkinstall create a .deb:
Uninstall the .deb and you're done.
There is no automated way - that is why we have package managers.
You would have to manually go through the Makefile and find the files / directories that it installs and manually remove them.