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

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐