linux系统 安装 CUDA Toolkit 12.2

用户尝试在Ubuntu20.04上安装CUDA12.2,但安装失败,提示需要至少535.00版本的驱动。指南包括检查PATH和LD_LIBRARY_PATH环境变量,以及如何使用--silent--driver选项运行安装器。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

(base) wyr@ubuntu2004w1:/data/software$ sudo sh cuda_12.2.0_535.54.03_linux.run
 Installation failed. See log at /var/log/cuda-installer.log for details.
(base) wyr@ubuntu2004w1:/data/software$ sudo sh cuda_12.2.0_535.54.03_linux.run
===========
= Summary =
===========

Driver:   Not Selected
Toolkit:  Installed in /usr/local/cuda-12.2/

Please make sure that
 -   PATH includes /usr/local/cuda-12.2/bin
 -   LD_LIBRARY_PATH includes /usr/local/cuda-12.2/lib64, or, add /usr/local/cuda-12.2/lib64 to /etc/ld.so.conf and run ldconfig as root

To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-12.2/bin
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 535.00 is required for CUDA 12.2 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
    sudo <CudaInstaller>.run --silent --driver

Logfile is /var/log/cuda-installer.log
(base) wyr@ubuntu2004w1:/data/software$ sudo cuda_12.2.0_535.54.03_linux.run  --silent --driver
sudo: cuda_12.2.0_535.54.03_linux.run: command not found
(base) wyr@ubuntu2004w1:/data/software$ 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值