Created
September 22, 2023 12:50
-
-
Save danielduckworth/f379b61ef1d1ac26852e444667c92f3c to your computer and use it in GitHub Desktop.
Install cuda12 toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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