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
博上文章,均属原创,如需转载,请注明出处