How to install cuda nvidia drivers for Ubuntu on WEkEO Elasticity


The following manual is dedicated to flavor with gpu only.

When we want to install Nvidia drivers for our system Ubuntu we should visit Nvidia page - click here.


At the bottom of that page will be the default configuration for the chosen system (Ubuntu, 18.04 in this case). To change, click and select another option.

After deciding upon the configuration, enter and execute the commands from field “Base Installer” from the image above, into the terminal:

sudo sh

Next, run the following commands:

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-cuda-toolkit

Now you can check the version of the installed drivers:

nvcc --version

The result will be similar to this: