Skip to content

Instantly share code, notes, and snippets.

@npinto
Created February 6, 2012 16:19
Show Gist options
  • Save npinto/1753068 to your computer and use it in GitHub Desktop.
Save npinto/1753068 to your computer and use it in GitHub Desktop.
CUDA 4.1 on Ubuntu
# -- Toolkit
(cd /tmp && wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_4.1.28_linux_64_ubuntu11.04.run)
(cd /tmp && sh cudatoolkit_4.1.28_linux_64_ubuntu11.04.run --noexec --target ./cudatoolkit)
(cd /tmp/cudatoolkit && ./install-linux.pl auto)
# -- SDK
(cd /tmp && wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/sdk/gpucomputingsdk_4.1.28_linux.run)
(cd /tmp && sh gpucomputingsdk_4.1.28_linux.run --noexec --target ./cudasdk)
(cd /tmp/cudasdk && ./install-sdk-linux.pl --prefix=/usr/local/cuda/sdk --cudaprefix=/usr/local/cuda)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment