Created
May 8, 2016 02:12
-
-
Save s4w3d0ff/5d4e2574df571c13b9f3382a2f79c8ff to your computer and use it in GitHub Desktop.
Install Cuda 7.5 for Ubuntu 14.04 LTS 64bit
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
cd ~/Downloads && wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb && sudo bash -c 'dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb && apt-get update && apt-get install -y cuda && apt-get update && apt-get upgrade' | |
sudo bash -c 'echo "export CUDA_HOME=/usr/local/cuda-7.5" >> ~/.bashrc && echo "export LD_LIBRARY_PATH=${CUDA_HOME}/lib64" >> ~/.bashrc && echo "PATH=${CUDA_HOME}/bin:${PATH}" >> ~/.bashrc && echo "export PATH" >> ~/.bashrc' | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment