1. 程式人生 > >linux 解除安裝 opencv

linux 解除安裝 opencv


一、 解除安裝opencv2.4.9: Going to the "build" folder directory of opencv from terminal, and execute the following:

1. $ sudo make uninstall
2. $ cd ..
3. $ sudo rm -r build
4. $ 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*

這一步可能有error
下面執行如下操作:
5. sudo apt-get –purge remove opencv-doc opencv-data python-opencv