# installing cuDNN on ubuntu17.10

**URL:** <https://forums.developer.nvidia.com/t/installing-cudnn-on-ubuntu17-10/56599>\
**Category:** CUDA Setup and Installation\
**Created:** [December 28, 2017, 10:20pm UTC](https://forums.developer.nvidia.com/t/installing-cudnn-on-ubuntu17-10/56599 "2017-12-28T22:20:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maryamsamami2013](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@maryamsamami2013](https://forums.developer.nvidia.com/u/maryamsamami2013)\
**Post date:** [December 28, 2017, 10:20pm UTC](https://forums.developer.nvidia.com/t/installing-cudnn-on-ubuntu17-10/56599/1 "2017-12-28T22:20:18Z")

</div>

Hi there,  
please guide me how i can install cuDNN on ubuntu 17.10.  
I have already installed cuda8 by “sudo apt install nvidia-cuda-toolkit”.  
please mention the relevant command.  
Best Regards.

---

<div class="post-metadata">

**Author:** ![zaher88abd](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zaher88abd](https://forums.developer.nvidia.com/u/zaher88abd)\
**Post date:** [December 28, 2017, 10:37pm UTC](https://forums.developer.nvidia.com/t/installing-cudnn-on-ubuntu17-10/56599/2 "2017-12-28T22:37:48Z")

</div>

I have the same problem, I used this command “sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit nvidia-nsight” and it is work and I have nvcc but I would to install Tensorflow; I need to install cuDNN but I could not find the path for the files.

```auto
zaher@zaher-GL502VM:~/Code$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

```

Please any help…

---

<div class="post-metadata">

**Author:** ![zaher88abd](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zaher88abd](https://forums.developer.nvidia.com/u/zaher88abd)\
**Post date:** [December 29, 2017, 6:33pm UTC](https://forums.developer.nvidia.com/t/installing-cudnn-on-ubuntu17-10/56599/3 "2017-12-29T18:33:02Z")

</div>

I couldn’t find any soluation; so, I uninstall the cudatoolkit using this commands

Uninstall nvidia-cuda-toolkit and it’s dependencies

```auto
sudo apt-get remove --auto-remove nvidia-cuda-toolkit

```

from this answer[https://askubuntu.com/questions/530043/removing-nvidia-cuda-toolkit-and-installing-new-one?answertab=votes#tab-top](https://askubuntu.com/questions/530043/removing-nvidia-cuda-toolkit-and-installing-new-one?answertab=votes#tab-top)

Then I reinstall it by follow this article [http://simonboehm.com/tech/2017/06/23/installingTensorFlow.html](http://simonboehm.com/tech/2017/06/23/installingTensorFlow.html)

Which works for me, have good luck.
