Skip to content

Instantly share code, notes, and snippets.

@abhik137
Forked from pragyanatvade/cuda_install.md
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save abhik137/186367dfb1caea21a51f to your computer and use it in GitHub Desktop.

Select an option

Save abhik137/186367dfb1caea21a51f to your computer and use it in GitHub Desktop.

Setting Up CUDA Repository

Cuda Downloads

sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb

sudo apt-get update

Install CUDA Toolkit

sudo apt-get install cuda

Set Environment Variables

export CUDA_HOME=/usr/local/cuda-6.5

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CUDA_HOME}/lib64

PATH=${CUDA_HOME}/bin:${PATH}

export PATH

Install CUDA Samples

cuda-install-samples-6.5.sh ~/Samples/

cd ~/Samples/NVIDIA_CUDA-6.5_Samples

make

Cinnamon Crash

sudo apt-get install nvidia-prime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment