markdown-it
demo
Delete
Submit
clear
permalink
### [CUDA Toolkit Archive](https://developer.nvidia.com/cuda-toolkit-archive) ### [cuDNN](https://developer.nvidia.com/rdp/cudnn-archive) ### Driver ```bash sudo apt-get install nvidia-driver-440 # Install sudo ./NVIDIA-Linux-x86_64-470.182.03.run # Uninstall sudo ./NVIDIA-Linux-x86_64-470.182.03.run --uninstall ``` ### CUDA Toolkit 10.1 ```bash sudo nvidia-docker run -it --gpus all --rm ubuntu:18.04 bash apt update apt install -y wget libxml2 kmod gcc g++ less openjdk-11-jdk wget https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux.run sudo sh cuda_10.1.243_418.87.00_linux.run export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} echo 'export PATH=/usr/local/cuda/bin:$PATH' >> ~/.bashrc echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}' >> ~/.bashrc ``` ### CUDA Toolkit 10.2 ```bash sudo nvidia-docker run -it --gpus all --rm ubuntu:18.04 bash apt update apt install -y wget libxml2 kmod gcc g++ less openjdk-11-jdk wget https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run sudo sh cuda_10.2.89_440.33.01_linux.run export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} echo 'export PATH=/usr/local/cuda/bin:$PATH' >> ~/.bashrc echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}' >> ~/.bashrc ``` ``` Driver: Not Selected Toolkit: Installed in /usr/local/cuda-10.2/ Samples: Installed in /root/, but missing recommended libraries Please make sure that - PATH includes /usr/local/cuda-10.2/bin - LD_LIBRARY_PATH includes /usr/local/cuda-10.2/lib64, or, add /usr/local/cuda-10.2/lib64 to /etc/ld.so.conf and run ldconfig as root To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-10.2/bin Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-10.2/doc/pdf for detailed information on setting up CUDA. ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 440.00 is required for CUDA 10.2 functionality to work. To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file: sudo <CudaInstaller>.run --silent --driver Logfile is /var/log/cuda-installer.log ```
html
source
debug
Fork me on GitHub