1、
this is importance.
sudo apt-get install libc-dev libc6-dev
sudo apt-get install libc-dev libc6-dev gcc g++ make
sudo apt-get install initramfs-tools
2
sudo vi /etc/modprobe.d/blacklist.conf
blacklist nouveau
options nouveau modeset=0
sudo update-initramfs -u
3
sudo sh cuda_12.0.1_525.85.12_linux.run
no need nvidia-fs
4
just run
Please make sure that
- PATH includes /usr/local/cuda-12.0/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-12.0/lib64, or, add /usr/local/cuda-12.0/lib64 to /etc/ld.so.conf and run ldconfig as root
标签:ubuntu20.04,sudo,dev,cuda12.1,apt,12.0,cuda,安装,usr From: https://www.cnblogs.com/whu-zeng/p/18106999