首页 > 学院 > 开发设计 > 正文

linux下如何卸载opencv

2019-11-06 09:03:29
字体:
来源:转载
供稿:网友

来源:http://www.jetsonhacks.com/2015/06/14/ros-opencv-and-opencv4tegra-on-the-nvidia-jetson-tk1/

主要的方法有三种:

第一种:

I had a similar issue, but with version 2.4.8, I found this solution:

"So, to find all OpenCV libraries 1

$> sudo find / -name "*opencv*" -exec rm -i {} /;

The above command will find any file containing opencv in the name, and will PRompt you to remove it. As always, be careful when deleting things manually! That will take a hell of long time. Next I figure out that since I installed from compiling opencv from the source and used

make install

to create the install manifest, and then I pretty simple to use

make uninstall

Yes indeed it for sure clean up itself. Now I have a clean system to install the lates opencvrelease."

Works for me.

第二种:

sudo apt-get autoremove opencv-doc opencv-data libopencv-dev libopencv2.4-java libopencv2.4-jni python-opencv libopencv-core2.4 libopencv-gpu2.4 libopencv-ts2.4 libopencv-photo2.4 libopencv-contrib2.4 libopencv-imgproc2.4 libopencv-superres2.4 libopencv-stitching2.4 libopencv-ocl2.4 libopencv-legacy2.4 libopencv-ml2.4 libopencv-video2.4 libopencv-videostab2.4 libopencv-objdetect2.4 libopencv-calib3d2.4 第三种:

Seems this command more simple sudo apt-get autoremove opencv-data I tried it with opencv 2.4.9 and Ubuntu 14.04 , seems it delete everything I checked it with dpkg --get-selections | grep -v deinstall | grep opencv


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表