1,
cd /usr/local/cuda6.5/bin/
sudo ./uninstall_****
12
2,
sudo apt-get purge --auto-remove nvidia-cuda-toolkit
1
3, delete the /opt/cuda and ~/NVIDIA_GPU_Computing_SDK
4, 打开~/.bashrc 删除
export PATH=$PATH:/opt/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda/lib:/opt/cuda/lib64