Ubuntu 16.04 LTS install CUDA9.1(No Driver Conflict, 100% Works)

本文详细介绍了如何在Ubuntu 16.04 LTS上安装CUDA 9.1,包括卸载旧版驱动、安装最新NVIDIA驱动、禁用Nouveau、下载CUDA Toolkit并进行RUNFILE安装,以及后续的验证步骤。确保无驱动冲突,100%成功。
摘要由CSDN通过智能技术生成

CSDN: weixin_42985025
*All Right Reserved.


1 Set_Up
Step 1.1: Install the Ubuntu 16.04 LTS.

Step 1.2: Check the current driver:
Go to Settings->software & updates ->Additional Drivers->select the NVIDIA binary driver

这里写图片描述
Step 1.3 :Install the latest nvidia driver:

Note: Uninstall current nvidia driver if you have installed one. do this before install the latest nvidia driver if you are not sure :

$ sudo apt remove --purge nvidia-*

type those in terminal to install the latest nvidia driver.

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update
$ sudo apt install nvidia-387

这里写图片描述

Note: ‘$ sudo apt install nvidia-387’ is installing the latest version nvidia have now. you system will automatically use the latest nvidia driver after installation.

$ reboot

Restart the system
Step 1.4: check the Nouveau is disabled:

$ lsmod | grep nouveau

Note: there should be no output in the terminal. If there is output, look at step 1.3.

Step 1.5: CUDA-Capable GPU check:

$ lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1be1 (rev a1)

Note: If you installed the latest version of ubuntu, it should be good for installing the latest CUDA Toolkit. here I am not showing all the checking process. more checking process plz look a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值