I am trying to install cuda on a small factor pc (NUC phantom canyon, NUC11PHKi7) which has an RTX2060 card and runs Ubuntu 22.04.3 LTS (jammy) .
I am trying to install CUDA 11.7 using these instructions from the nvidia website but I am hitting an error:
Loading new nvidia-515.65.01 DKMS files... Building for 6.2.0-26-generic Building for architecture x86_64 Building initial module for 6.2.0-26-generic Error! Bad return status for module build on kernel: 6.2.0-26-generic (x86_64) Consult /var/lib/dkms/nvidia/515.65.01/build/make.log for more information. dpkg: error processing package nvidia-dkms-515 (--configure): installed nvidia-dkms-515 package post-installation script subprocess returned error exit status 10 Setting up libnvidia-fbc1-515:amd64 (515.65.01-0ubuntu1) ... Setting up libnvidia-fbc1-515:i386 (515.65.01-0ubuntu1) ... Setting up nvidia-compute-utils-515 (515.65.01-0ubuntu1) ... Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory Adding system user `nvidia-persistenced' (UID 129) ... Adding new group `nvidia-persistenced' (GID 137) ... Adding new user `nvidia-persistenced' (UID 129) with group `nvidia-persistenced' ... Not creating home directory `/nonexistent'.
In case it helps, the make.log is below:
make.log (998.7 KB)
Can you guys help with this? it will be massively appreciated!