Is there anyway of removing files installed by running the command
The majority of packages that have
make install also provide a
make uninstall; this will usually remove package files, but not configuration files, similar to how
apt-get remove works, in contrast to
This, of course, only works properly if you keep the original package directory or reconfigure it using the same parameters for
--prefix and such.
On Ubuntu, it's actually pretty easy:
sudo aptitude install checkinstall
Run Make and let checkinstall create a .deb:
sudo make; sudo checkinstall
Uninstall the .deb and you're done.