Failed to install cuDNN9 for CUDA 12.8

Summary

I tried to install cuDNN9 for CUDA 12.8.1 on Ubuntu 24.04.
But, installation of cuDNN9 is failed by the dependency of package.

Steps to reproduce

1. Install CUDA 12.8.1 on Ubuntu 24.04(x86_64)

I installed CUDA 12.8.1 by the following steps.
https://developer.nvidia.com/cuda-12-8-1-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_network

2. Install cuDNN 9 for CUDA 12.8

I tried to install cuDNN for CUDA 12.8.

sudo apt install cudnn9-cuda-12-8

But, this command failed by the dependency of package.
So, I tried to run the following command.

sudo apt install cudnn9-cuda-12

But, cudnn9-cuda-12-9 was installed in this command.
It seems that this package is for CUDA 12.9.

Hi
As of now, Ubuntu 24.04 is not officially supported by NVIDIA for cuDNN 9 and CUDA 12.8.1, which is why you’re encountering package dependency issues when trying to install cudnn9-cuda-12-8
As an alternate, you may try manually Installing cuDNN 9
Use the cuDNN tar archive and copy the files manually.

Please let me know if this works for you.