OPERATING SYSTEMSOS Linux

How to install cuda 11.2 on ubuntu 18.04

In this video I am showing how to install CUDA 11.2 on Ubuntu 18.04. It may be new install or updating an existing installation.

I also shows how to install only CUDA without installing nvidia driver particularly when you get error

The following packages have unmet dependencies

source

ubuntu

12 thoughts on “How to install cuda 11.2 on ubuntu 18.04

  • what should I do with error?
    : eval: ./cuda-installer:exec format error

  • Hi! Thanks for the video! It is very useful.

    For those who obtain a similar error as it was on the video (3:48):
    please read the terminal output carefully. In my case, it suggested me to "sudo apt –fix-broken install". I followed the suggestion and everything was installed correctly.
    I also recommend to check "Software and Updates" -> "Other software" for any nvidia related sources. If there are, remove them.

  • nvidia-smi shows : cuda version 11.4 while
    nvcc-V shows : Cuda compilation tools, release 11.6
    what should I do now? tell with commands. thanks

  • Thank you so much. This worked on Ubuntu 20.04. I was having trouble with the .deb one cause it would overwrite the already installed 470 driver on my machine and end up having some errors. I was able to install the cuda toolkit properly following your video. Keep it up mate!

  • I am getting

    Command 'nvcc' not found, but can be installed with:

    apt install nvidia-cuda-toolkit

    Please ask your administrator.

    after all the steps.

  • does thiss install cudnn as well?

  • Hi, I don't install cuda_11.3. This is get a eror : " Installation failed. See log at /var/log/cuda-installer.log for details. "

    Can you help me ? Thank you 🙂

  • Holly f. What is your internet speed? Installation worked flawless, thank you

Comments are closed.