Completely uninstall opencv3.1.0 under ubuntu

Deleting opencv under ubuntu requires the following steps:

1. Enter the release under the source code folder of opencv (this is the directory you named when you installed opencv, and the directory where cmake is located)

2. Execute the following command

make uninstall
cd ..
sudo rm -r build
sudo rm -r /usr/local/include/opencv2 /usr/local/include/opencv /usr/include/opencv /usr/include/opencv2 /usr/local/share/opencv /usr/local/share/OpenCV /usr/share/opencv /usr/share/OpenCV /usr/local/bin/opencv* /usr/local/lib/libopencv*

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325188139&siteId=291194637