Ubuntu14.04下opencv卸载与重装

参考链接:http://askubuntu.com/questions/334158/installing-opencv
http://stackoverflow.com/questions/13134151/how-to-uninstall-opencv-in-ubuntu
进入安装包的build文件执行:

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*

若提示默写路径没找到,可忽视,第三条命令列举的可能包含opencv路径,存在的路径已经被删除。

转载于:https://www.cnblogs.com/youzx/p/6291378.html

你可能感兴趣的:(Ubuntu14.04下opencv卸载与重装)