How to install Cudnn from the command line

Cudnn: https://developer.nvidia.com/cudnn

I enter the system and go through all the hoops that NVIDIA wants to make from you; however, when it comes time to upload the file, I cannot figure out how to do this using wget and the command line.

I was hoping someone did this. I copied and pasted the link that they want to click and used it in wget copy-and-ined-url. But I will just return the html file.

+5
source share
4 answers

The download link that you receive immediately after the acceptance conditions section is authenticated (the GET request gives you HTTP 302 Moved Temporarily ).

If you really want to capture the link from the command line: open your browser, use the developer tools and see the Location field after redirection: you can directly use this link with wget , since it contains a short-term authorization token.

+4
source

You can try the following:

 curl -O http://developer.download.nvidia.com/compute/redist/cudnn/v2/cudnn-6.5-linux-x64-v2.tgz 

This will load CUDNN 6.5

+2
source

The location of the latest version is in the latest NVIDIA Docker file, currently:

https://github.com/NVIDIA/nvidia-docker/tree/master/centos-7/cuda/7.5/runtime/cudnn5

+2
source
 CUDNN_TAR_FILE="cudnn-8.0-linux-x64-v6.0.tgz" wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/${CUDNN_TAR_FILE} tar -xzvf ${CUDNN_TAR_FILE} sudo cp -P cuda/include/cudnn.h /usr/local/cuda-8.0/include sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda-8.0/lib64/ sudo chmod a+r /usr/local/cuda-8.0/lib64/libcudnn* 
+1
source

All Articles