
#Install nvidia cuda toolkit ubuntu 16 install#
If you won't heed my warning and are determined to install CUDA 6.5 on Ubuntu 16. Simply put, Nvidia just doesn't support Ubuntu 16.04+ with CUDA 6.5 >:C update-initramfs -u needed to do this so rebooting wouldnt lose configuration I think. I'm giving up and getting a video card that supports the latest CUDA. Then I deleted the ones that showed up (mostly libnvidia- but also xserver-xorg-video-nvidia-xxx) sudo apt-get install nvidia-driver-440 the recommended one by ubuntu-drivers. This is my question: has anybody tried to install cuda 7.5 on Ubuntu 16.04 From nvidia site, I see only. I've Google'd around and there are hacks to kinda make it work a little, but eventually you run into a brick wall. usr/local/cuda-6.5/include/host_config.h:82:2: error: #error - unsupported GNU version! gcc 4.9 and up are not supported! I finally got it installed, but now I constantly get variations of this error: In file included from /usr/local/cuda-6.5/include/cuda_runtime.h:59:0, I just spent a few hours trying to figure this out myself. usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery

If you see all of your cards listed, and the last line says "Result = PASS" you're good to go. This is used to verify cuda worksĬd /usr/local/cuda/samples/1_Utilities/deviceQuery & sudo make Reboot and test everything works sudo reboot Sudo apt-get -y install cuda-toolkit-6-5 # skip reading the entire agreement by pressing ctrl+cĮcho "export PATH=/usr/local/cuda-6.5/bin:$PATH" > ~/.bashrcĮcho "export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:$LD_LIBRARY_PATH" > ~/.bashrc Sudo nvidia-xconfig -a -cool-bits=28 -allow-empty-initial-configuration # flags enable OC and fan controls. sudo apt install linux-headers- (uname -r) -y The Linux kernel headers should be installed. First, run the following command to make sure that the required Linux headers are installed. This means that we can do an easy CUDA install from the NVIDIA CUDA repositories even though it will reinstall. You can install the latest version of CUDA from the official package repository of NVIDIA.
#Install nvidia cuda toolkit ubuntu 16 driver#
It is the same major version as the driver we installed in Step 7) above. Sudo echo 'GRUB_CMDLINE_LINUX="nomodeset"' > /etc/default/grub The NVIDIA display driver in the CUDA 9.1 install repository is nvidia-387 which is the current driver as of this writing.

Get the appropriate driver download here. EDIT: I found a way! install dependencies sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev
