赞
踩
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
安装的时候输入同意后根据自己要求选择服务,这里取消第一项Driver勾选后安装
sudo sh cuda_11.8.0_520.61.05_linux.run
vim ~/.bashrc #编辑文件
#将下面两行插入到文件末尾
export PATH=/usr/local/cuda-11.8/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
source ~/.bashrc #更新文件
nvcc -V
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。