Skip to content

Instantly share code, notes, and snippets.

@chintak
Created April 20, 2016 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chintak/8715783798a6325f94be0c42aa93a592 to your computer and use it in GitHub Desktop.
Save chintak/8715783798a6325f94be0c42aa93a592 to your computer and use it in GitHub Desktop.
Installing CUDA 7.5 on AWS G2 instance
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