-
Confirm preconditions
-
Kernel -devel- (uname−r)kernel−headers−(uname -r) The kernel headers – (uname – r) kernel – headers – (uname -r)
-
GCC –version If GCC is not available, install it
-
Nouveau has not been loaded lsmod | grep -i nouveau
-
-
Uninstall the previously installed version /usr/bin/nvidia-uninstall /usr/local/cuda/bin/cuda-uninstall
-
Run the following command to switch to runlevel 3 who -r (runlevel) sudo SystemCTL ISOLATE multi-user. Target command
-
Install sudo sh cuda-xxx.run
-
If the CUDa driver fails to be installed, view /var/log/cuda-installer.log. If an error occurs, for example, view detailed logs in /var/log/nvidia-installer.log