ubuntu18.04 opencv3.2卸载
时间: 2023-08-16 09:04:07 浏览: 129
ubuntu18.04 安装opencv 2.4.9
根据引用\[1\]中的内容,要在Ubuntu 18.04上卸载OpenCV 3.2,你可以按照以下步骤进行操作:
1. 打开终端并执行以下命令以删除OpenCV相关的文件和文件夹:
```
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*
```
2. 切换到根目录并执行以下命令以删除任何与OpenCV相关的文件:
```
cd /usr
find . -name "*opencv*" | xargs sudo rm -rf
```
3. 返回主目录并执行以下命令以删除之前安装的OpenCV版本:
```
cd ~
sudo rm -rf opencv-4.1.2
```
这样就完成了OpenCV 3.2的卸载。请注意,这些命令将删除与OpenCV相关的文件和文件夹,因此请确保你不再需要这些文件和文件夹。
#### 引用[.reference_title]
- *1* *2* *3* [(超详细)Ubuntu18.04下安装及卸载opencv+opencv_contrib](https://blog.csdn.net/weixin_44985971/article/details/123209435)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文