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文件到对应的目录

展开阅读全文

没有更多推荐了,返回首页