ubuntu 安装 nvidia 开发环境
2021-01-06 本文已影响0人
FM_1ad7
vim /etc/apt/sources.list
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
sudo apt update
sudo apt install cuda-toolkit-10-0
export PATH=/usr/local/cuda-10.0/bin:$PATH