Last active
April 30, 2016 16:07
-
-
Save tzutalin/103b7aa2cf8e256702f9 to your computer and use it in GitHub Desktop.
Ubuntu14.04-nvidia-340 Driver installation
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
#!/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 |
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
As of the CUDA 6.0 release, gcc 4.7 is supported.