Install cuDNN on WSL2 Ubuntu 22.04

Cheers,

I’ve installed successfully the cuda toolkit by following this link, which points out to wsl-ubuntu/x86_64/ repository.

When trying to install cuDNN, instructions found here point out to ubuntu2204/x86_64/ repository, but not to the one from above. Thus, the repository is not installed. As a result, when issuing the below command, installation fails, as the corresponding file is not found at the wsl repository.

sudo apt-get -y install cudnn9-cuda-12

Please kindly advise. Thanks in advance.

Hi,
Can you please check if you have another wsl instance present on your machine?

Cheers,

Indeed, I do have another two instances, installed by Docker.

Regards,

Ciro.

Bro it says,
E: Unable to locate package cudnn9-cuda-12

Any solutions.