1. 程式人生 > >ubuntu安裝及解除安裝cuda

ubuntu安裝及解除安裝cuda

Ubuntu安裝cuda:

website:https://developer.nvidia.com/cuda-downloads

Installation Instructions:

    `sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb`
    `sudo apt-get update`
    `sudo apt-get install cuda`

Ubuntu解除安裝cuda:

http://askubuntu.com/questions/530043/removing-nvidia-cuda-toolkit-and-installing-new-one

http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#runfile-uninstallation

Use the following commands to uninstall a RPM/Deb installation

$sudo apt-get --purge remove <package_name> # Ubuntu
$ sudo yum remove <package_name> # Fedora/Redhat/CentOS 
$ sudo zypper remove <package_name> # OpenSUSE/SLES
注:package_name即為/usr/local/cuda,  /usr/local/cuda-7.5,  /usr/cuda,  /usr/cuda-7.5

Read more at: http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#ixzz4EBNEsgb8
Follow us: @GPUComputing on Twitter | NVIDIA on Facebook

安裝cudnn:

https://developer.nvidia.com/rdp/cudnn-archive

即下載cudnn,解壓,拷貝.h檔案和lib檔案到對應的目錄