先进入安装目录下的bin文件夹中

cd /usr/local/cuda-12.0/bin

ubuntu将cuda卸载干净_linux


执行cuda自带的卸载程序

然后勾选我们要卸载的12.0版本,选择done

ubuntu将cuda卸载干净_ubuntu_02


卸载成功

ubuntu将cuda卸载干净_linux_03