# Can I install cuDNN on Ubuntu 20.04 via WSL2?

**URL:** <https://forums.developer.nvidia.com/t/can-i-install-cudnn-on-ubuntu-20-04-via-wsl2/216488>\
**Category:** CUDA on Windows Subsystem for Linux\
**Created:** [June 3, 2022, 6:45pm UTC](https://forums.developer.nvidia.com/t/can-i-install-cudnn-on-ubuntu-20-04-via-wsl2/216488 "2022-06-03T18:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user22153](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user22153](https://forums.developer.nvidia.com/u/user22153)\
**Post date:** [June 3, 2022, 6:45pm UTC](https://forums.developer.nvidia.com/t/can-i-install-cudnn-on-ubuntu-20-04-via-wsl2/216488/1 "2022-06-03T18:45:12Z")

</div>

Hi,

I have followed the steps in this guide,[Installation Guide :: NVIDIA Deep Learning cuDNN Documentation](https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html)  
to install Cuda. then I have installed tensorflow-gpu via anaconda.  
Next, I want to install cuDNN but am not sure if I should be following the guide for Linux or Windows from here,  
[Installation Guide :: NVIDIA Deep Learning cuDNN Documentation](https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html)

and do I need a local installer for Ubuntu 20.04 x86\_64(Deb) or Local Installer for Linux x86\_64 (Tar) for cuDNN v8.4.1 from [https://developer.nvidia.com/rdp/cudnn-download](https://developer.nvidia.com/rdp/cudnn-download)?

can I even install it in WSL2?

Thank you very much for any replies.

I have the following.  
Ubuntu 20.04 via WSL2  
Windows 10 21H2  
Nvidia latest driver, 512.95 compatible with GeForce RTX 3060  
Cuda Driver Version/ Runtime Version 11.6/11.4( shall I update this to 11.7?)  
Tensorflow 2.9.1  
Python 3.9.7.

---

<div class="post-metadata">

**Author:** ![cedricyangks](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cedricyangks](https://forums.developer.nvidia.com/u/cedricyangks)\
**Post date:** [September 8, 2023, 1:53am UTC](https://forums.developer.nvidia.com/t/can-i-install-cudnn-on-ubuntu-20-04-via-wsl2/216488/2 "2023-09-08T01:53:30Z")

</div>

Would you have a answer to this?  
Same situation here… WSL2 ubuntu

---

<div class="post-metadata">

**Author:** ![jaai0123210](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jaai0123210](https://forums.developer.nvidia.com/u/jaai0123210)\
**Post date:** [March 3, 2025, 11:05pm UTC](https://forums.developer.nvidia.com/t/can-i-install-cudnn-on-ubuntu-20-04-via-wsl2/216488/3 "2025-03-03T23:05:33Z")

</div>

There’s forums are not of help. These devs always assume we know it all. 0 help……

Sad to see there is little brotherly support between those who want to learn and those who know….
