Specific cudnn version installation


If I want to install cudnn 8.6.0 after cuda 11.8 is installed on linux 22.04 there is an archive with deb file to download.

What are the installation steps afterwards?

I got stuck at sudo apt-get install -y cudnn which wants to install cudnn 9.something.

Change to the directory where you saved it, then run sudo apt install ./<full-name-of-deb-file>
if you added the repo, you should also be able to run
sudo apt install cudnn8-cuda-11