check command
cuda 版本 cat /usr/local/cuda/version.txt
cudnn 版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
cuda 版本 cat /usr/local/cuda/version.txt
cudnn 版本 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
uninstall older versionsudo apt-get udpatesudo apt-get autoremove cmakedownload fileswget [cmake](https://cmake.org/files/v3.9/cmake-3.9.1-Linux-x86_64.tar.gz)unziptar zxvf cmake-3.9.1-Linux-x86_64.tar.gzcreate soft urlmv cmake-3.9.1-Linux-x86_64 ...…