linux怎么卸载opencv,linux下如何卸载opencv

来源: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 simplesudo apt-get autoremove opencv-dataI tried it with opencv 2.4.9 and ubuntu 14.04 , seems it delete everything I checked it withdpkg --get-selections | grep -v deinstall | grep opencv

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值