Skip to content

Instantly share code, notes, and snippets.

@mtngld
Created March 22, 2016 21:18
Show Gist options
  • Save mtngld/a8791449ca734b6a47b2 to your computer and use it in GitHub Desktop.
Save mtngld/a8791449ca734b6a47b2 to your computer and use it in GitHub Desktop.
Install CUDA 7.5 on AWS
# based on https://devtalk.nvidia.com/default/topic/880246/cuda-setup-and-installation/cuda-7-5-unstable-on-ec2-/post/4830634/#4830634
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