Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
rm cuda-repo-ubuntu1404_7.5-18_amd64.deb
echo 'export CUDA_HOME=/usr/local/cuda
export CUDA_ROOT=/usr/local/cuda
export PATH=$PATH:$CUDA_ROOT/bin:$HOME/bin
' >> ~/.bashrc
# Let terminal know of the changes to the .bashrc file
source .bashrc
sudo apt-get update
# y flag just says yes to all prompts
sudo apt-get install -y cuda
# Check if installation is successful by running the next line
# nvcc -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment