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

 

posted on 2024-03-31 17:45  曾冠奇  阅读(569)  评论(0编辑  收藏  举报