# Failed to install cuDNN9 for CUDA 12.8

**URL:** <https://forums.developer.nvidia.com/t/failed-to-install-cudnn9-for-cuda-12-8/332559>\
**Category:** cuDNN\
**Tags:** cudnn\
**Created:** [May 8, 2025, 9:45am UTC](https://forums.developer.nvidia.com/t/failed-to-install-cudnn9-for-cuda-12-8/332559 "2025-05-08T09:45:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshimura\_yasuhiro](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yoshimura\_yasuhiro](https://forums.developer.nvidia.com/u/yoshimura_yasuhiro)\
**Post date:** [May 8, 2025, 9:45am UTC](https://forums.developer.nvidia.com/t/failed-to-install-cudnn9-for-cuda-12-8/332559/1 "2025-05-08T09:45:48Z")

</div>

## 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](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.

```bash
sudo apt install cudnn9-cuda-12-8

```

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [May 31, 2025, 1:31pm UTC](https://forums.developer.nvidia.com/t/failed-to-install-cudnn9-for-cuda-12-8/332559/2 "2025-05-31T13:31:31Z")

</div>

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.
