I\'m running Kubuntu 11.10 (w/ KDE 4.8)
Before you read all this :
I just want to remove all traces of OpenCV from my system, so I can start afresh..
<
If you have the build directory then it is recommended to execute:
$ sudo make uninstall
from the build directory as per @Navid 's answer
But this will leave few .so* files somewhere
To completely remove all such files, do:
$ sudo rm /usr/local/{bin,lib}/*opencv*
/usr/local is what we normally set CMAKE_INSTALL_PREFIX to while running cmake. Replace it according to how you executed cmake