I’m super new to the coding world and have just installed ubuntu 22.04 on my machine. I aim to work in ML and am trying to get CUDA and cuDNN working here, running into issues. I am using the proper directions for my system Ubuntu 22.04 x86_64 found at https://developer.nvidia.com/cuda-12-2-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local. When i go to verify installation after following those instructions I get the below
“bigerrn@workshop:~$ nvcc --version
Command ‘nvcc’ not found, but can be installed with:
sudo apt install nvidia-cuda-toolkit”
I decided to just go the sudo apt-get install nvidia-cuda-toolkit route but that seems to install the 11.5 release. I was told to check my CUDA compatability with nvidia-smi and that shows 12.2 is my compatible version. Will this be an issue?
For cuDNN when i go to install the runtime library i get the below. I am not sure where to go from here, any help is appreciated.
"bigerrn@workshop:~/Downloads$ sudo apt-get install libcudnn8=18.104.22.168-1+cuda12.2
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package libcudnn8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Version ‘22.214.171.124-1+cuda12.2’ for ‘libcudnn8’ was not found"
Apologies if this is not the right board to post this in