- Download the CUDA toolkit i.e.
runfile(local)
from Nvidia. - Download the cuDNN
.tgz
file from Nvidia. You can use this hack from Nvidia Developer Forum towget
a cuDNN file. - Install CUDA toolkit (includes cuBLAS).
export CUDA_ROOT=/where/to/install/cuda
bash cuda_<version>.run --silent \
--toolkit --toolkitpath=$CUDA_ROOT \
--samples --samplespath=$CUDA_ROOT/samples
--tmpdir=$HOME/tmp
- Unpack the cuDNN
.tgz
into the CUDA root directory.
tar --strip-components=1 -C $CUDA_ROOT -zxvf cudnn-<version>.tgz