Skip to content

Instantly share code, notes, and snippets.

@danielduckworth
Created September 22, 2023 12:50
Show Gist options
  • Save danielduckworth/f379b61ef1d1ac26852e444667c92f3c to your computer and use it in GitHub Desktop.
Save danielduckworth/f379b61ef1d1ac26852e444667c92f3c to your computer and use it in GitHub Desktop.
Install cuda12 toolkit
wget https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run
bash cuda_12.0.0_525.60.13_linux.run --no-drm --no-man-page --override --toolkitpath=~/local/cuda-12.0/ --toolkit --silent
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:~/local/cuda-12.0/lib64" >> ~/.bashrc
echo "export PATH=\$PATH:~/local/cuda-12.0/bin" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment