ubuntu Removing nvidia cuda toolkit and installing new one

来源:互联网 发布:软件销售网站 编辑:程序博客网 时间:2024/06/07 10:16

This method will give a complete removal of Cuda:

Simple

remove the CUDA files in /usr/local/cuda-5.0


Advanced


Uninstall just nvidia-cuda-toolkit

sudo apt-get remove nvidia-cuda-toolkit

Uninstall nvidia-cuda-toolkit and it's dependencies

sudo apt-get remove --auto-remove nvidia-cuda-toolkit

Purging config/data

sudo apt-get purge nvidia-cuda-toolkitorsudo apt-get purge --auto-remove nvidia-cuda-toolkit

Additionally, delete the /opt/cuda and ~/NVIDIA_GPU_Computing_SDK folders if they are present. and remove theexport PATH=$PATH:/opt/cuda/bin and export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda/lib:/opt/cuda/lib64 lines of the~/.bash_profile file

阅读全文
0 0