I'm totally new to ubuntu, and I have a problem in installing cuDNN. I'm following this guide, and currently in step 3: https://www.learnopencv.com/installing-deep-learning-frameworks-on-ubuntu-with-cuda-support/
I downloaded the cuDNN v6.0 Library for Linux file (was saved to Downloads). Ran this command line:
tar xvf cudnn-8.0-linux-x64-v6.0.tgz
So good so far. Now I have a cuda library - /home/nimrod/Downloads/cuda/
. I'm having a problem with this line:
sudo cp -P cuda/lib64/* /usr/local/cuda/lib64/
Edit: I get "cp: target '/usr/local/cuda/lib64/' is not a directory"
No idea what should I type. I tried:
sudo cp -P cuda/lib64/* /nimrod/Downloads/cuda/lib64/
and
sudo cp -P cuda/lib64/* home/nimrod/Downloads/cuda/lib64/
and a few other combinations. What should I do?
Edit: @dessert's suggestion of using mkdir solved the problem with the second line (odd, because I had that library). Now I have a problem with the third line, I get the following: cp: cannot create regular file '/usr/local/cuda/include/': Not a directory
How do I solve that?