【opencv基础】linux系统卸载opencv

 

找到opencv某个版本的源码文件,进入build目录;

cd opencv_build
sudo 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*

 

之后再删除源码目录即可;

 https://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html

posted on 2018-11-12 13:36  鹅要长大  阅读(4221)  评论(0编辑  收藏  举报

导航