Created
April 20, 2016 09:32
-
-
Save chintak/8715783798a6325f94be0c42aa93a592 to your computer and use it in GitHub Desktop.
Installing CUDA 7.5 on AWS G2 instance
This file contains 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
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get update -q -y | |
sudo apt-get -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install linux-generic | |
wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo apt-get update -q -y | |
sudo apt-get install cuda -q -y | |
echo ' /usr/local/cuda/lib64 | |
/usr/local/cuda/lib' | sudo tee -a /etc/ld.so.conf.d/cuda.conf > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment