installing Cuda 8rc. Ubuntu 1604

Install CUDA 8.0.27

  1. download CUDA8 and CUDA patch from NVIDIA

    *( depending on your environment): first simply try to install it with executing .run file. if you get error try to run it using --override. 
  2. if it does not work and you get "unsupported compiler error"

    #it is due to the fact thay Cuda 8.0.27 rc does not support gcc5.4. to install cuda first downgrade gcc/g++

    sudo apt-get install gcc-4.9
    sudo update-alternatives --remove-all gcc
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10

    sudo apt-get install g++-4.9
    sudo update-alternatives --remove-all g++
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10

  3. install CUDA toolkit

    sudo chmod +x
    sudo ./
  4. install patch to support gcc 5

    sudo ./
  5. post-install

    export CUDA_HOME=/usr/local/cuda-8.0
    export PATH

    #make .conf file,Add following lines to the file and save it:

    sudo nano /etc/


    #Run ldconfig:
    sudo ldconfig
  6. (CUDNN install)

    #First, get the CUDNN stuff from NVIDIA.

    tar -xzvf cudnn-X.Y.tgz
    cd cudnn-X.Y/cuda
    sudo cp -r * /usr/local/cuda-8.0
    sudo ldconfig

Tags: UBUNTU, GTX1080, CUDA8, UBUNTU16.04, STRIX, GPU, 1080


0 #7 business 2016-11-10 08:38
I love reading through an article that can make men and women think.

Also, thank you for allowing for me to comment!

Feel free to visit my blog - business
0 #6 operating a blog 2016-11-09 06:22
For latest information you have to pay a visit world-wide-web and on internet I found
this website as a most excellent web page for
most recent updates.

My blog; operating a blog
0 #5 2016-11-08 16:26
Hello all, here every one is sharing these know-how, thus it's fastidious to
read this blog, and I used to visit this webpage every day.

my blog - Seo (
0 #4 Lorri 2016-11-08 00:04
I am truly thankful to the owner of this web
page who has shared this fantastic paragraph at at this place.

Take a look at my website :: Lorri
0 #3 shopping 2016-11-05 04:09
Spot on with this write-up, I seriously feel this web
site needs a great deal more attention. I'll probably be returning to see
more, thanks for the info!

My weblog :: shopping
0 #2 home blog 2016-11-02 07:36
If you desire to increase your know-how just keep visiting this website
and be updated with the most up-to-date information posted here.

Have a look at my site; home blog
0 #1 shopping blog 2016-10-31 07:24
hello!,I like your writing very so much! share we keep in touch
extra about your article on AOL? I need a specialist
in this space to unravel my problem. Maybe that is you!
Taking a look ahead to look you.

Feel free to visit my blog shopping

Add comment

Security code

Free WordPress Themes - Download High-quality Templates