CentOS7.5的GPU 1080 Ti 显卡安装cuda

安装cuda之前,首先要安装好驱动CentOS7.5的GPU 1080 Ti 显卡驱动安装 

官网下载cuda-rpm包https://developer.nvidia.com/cuda-downloads,一定要对应自己的版本。

1 #安装查看显卡型号命令的套件
2 $ yum -y install pciutils
3 #查看显卡型号
4 $ lspci | grep -i nvidia

安装cuda

1 $ wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64
2 $ mv cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64 cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64.rpm
3 $ sudo rpm -i cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64.rpm
4 $ sudo yum clean all
5 $ sudo yum install cuda
posted @ 2018-11-27 15:09  CN海盗船长  阅读(382)  评论(0编辑  收藏  举报