Skip to content

Instantly share code, notes, and snippets.

@tzutalin
Last active April 30, 2016 16:07
Show Gist options
  • Save tzutalin/103b7aa2cf8e256702f9 to your computer and use it in GitHub Desktop.
Save tzutalin/103b7aa2cf8e256702f9 to your computer and use it in GitHub Desktop.
Ubuntu14.04-nvidia-340 Driver installation
#!/bin/sh
# My GPU: Gefore710M
sudo apt-get remove nvidia* && sudo apt-get autoremove
sudo add-apt-repository -y ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-340
# Install CUDA 6.0
sudo apt-get install nvidia-cuda-toolkit
# Install opencl
sudo apt-get install nvidia-opencl-dev nvidia-modprobe
@tzutalin
Copy link
Author

tzutalin commented Nov 6, 2015

As of the CUDA 6.0 release, gcc 4.7 is supported.

@tzutalin
Copy link
Author

Rember to use the correct opencvl. Go to /usr/lib/i386-linux-gnu$ ls | egrep -i 'opencl'
$ mv libnvidia-opencl.so.1 libOpenCL.so.1

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