
- Ubuntu 16.04 install cuda 9.2 update#
- Ubuntu 16.04 install cuda 9.2 driver#
- Ubuntu 16.04 install cuda 9.2 upgrade#
- Ubuntu 16.04 install cuda 9.2 software#
Ubuntu 16.04 install cuda 9.2 upgrade#
The only minor annoyance I've encountered later is that apt dist-upgrade still offered me to upgrade nvidia-390 (but regular apt upgrade didn't).
Ubuntu 16.04 install cuda 9.2 driver#
But sudo apt install cuda-9-1 didn't compain and allowed me to install CUDA 9.1 with nvidia-390 (I've found that 9.1 driver also works with nvidia-390, that's why not 9.0).Īfter that (and a reboot), all my CUDA apps do work with optirun until now. Then sudo apt install cuda did work but still offered me to install cuda 9.2 and upgrade to nvidia-396 in the process, despite I've locked the driver.
Ubuntu 16.04 install cuda 9.2 update#
Forced cuda-drivers package version to 390.xx in Synaptic.ĭid apt update then dpkg -configure -a to resolve broken dependencies, then apt update again.Cleaned up everything containing cuda in Synaptic.Well, after a while I was able to work around this problem. If only you could find a pre-release copy, that would be nice. I'm sure you'll see the official release soon. I strongly suggest not rebooting until you've got them in order. Depending on what else you've installed in what order, you may get to play a similar logic game getting rid of other broken packages, but it's doable.Try again and if that was the only broken package, the install willl work. When you hit apply, synaptic may barf on the remnants of the dead package, which looks bad but has the side effect of removing its corpse. That's OK: it's a metapackage, it doesn't actually need to be installed, exactly sort of.You will then have all the necessary files added, except the cuda link you clicked on will be broken (because it couldn't install its own version of 396.26).
Instead of sudo apt-get install cuda go into synaptic, search for lower-case cuda (it exists!), mark it to be installed, and update its dependencies. you can do the first three steps in the debnetwork instructions as shown. you could install the ubuntu pre-release (might need to play with it in synaptic to get installed right). IF you can get your hands on a pre-release of the ubuntu 396.26 driver package THEN the ubuntu package system sets dependencies such that an nvidia package, even a newer version, cannot overwrite the one installed by ubuntu. the Version installed by ubuntu is 396.24. the NVIDIA-supplied deb file contains driver 396.26 as required by. However, the problem is still there - I can't install CUDA again, no matter I'm trying 9.0 or another version. It did clean indeed lots of stuff, including some from cuda-9.2 related packages. I've tried the solution from an answer on this Installing CUDA 8 on Ubuntu 16: Unable to locate package cuda question, that is: dpkg -l | grep '^rc' | awk '' | sudo xargs dpkg -purge Houston, we have a problem! $ sudo apt install cuda So, after uninstalling everything (and checkin in synaptic no packages from nvidia-396 or cuda-9.2 are left) I've tried to get it back: sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_b So likely I'm stuck with CUDA 9.0 as well. Was told that a lot of dependent packages will be uninstalled, including, it seems, all of CUDA 9.2. OK, looks like then I must live with nvidia-390: sudo apt install nvidia-390 Yes, my laptop is quite old, but with SSD and 12 Gb RAM I still don't feel much need to replace it. NVRM: supported through the NVIDIA 390.xx Legacy drivers. dmesg, and there is a reason: NVRM: The NVIDIA GeForce GT 520M GPU installed in this system is Still doesn't work ( Cannot access secondary GPU - error: Could not load GPU driver). Shortly after, I've tried to run a CUDA apllication (using optirun ), and found it doesn't work.įirst thing I did was replacing all the entries of "nvidia-390" (if I remember right it was 390) in /etc/bumblebee/nf to "nvidia-396" - this helped me before more than once. Instructions for several deep learning frameworks are also given (TensorFlow, Theano, Chainer) as well as OpenCV 3.4 Installation Install 16.Recently I got CUDA upgraded to version 9.2 and nvidia driver to nvidia-396 with a regular auto-update on my Ubuntu 16.04 Optimus-enabled laptop, with Intel video adapter active by default and NVidia accessed via bumblebee.
It uses Ubuntu 16.04 as there are still some incompatibilities with 18.04, as well as CUDA 9.0 and cuDNN 7.3
Ubuntu 16.04 install cuda 9.2 software#
Instructions have been collected from many sources plus additional debugging required when updating the software of one of the machines used for deep learning at the lab. The following are a set of reference instructions (no warranties) to install a machine learning server.