Friday 29 January 2021

How to install nvidia driver and cuda together in ubuntu18?

1. boot into ubuntu os

2. login to os and download cuda installer, cuda_10.2.89_440.33.01_linux.run (the best version for 2080ti)

3. press ctrl + alt + f3

4. login with username and password

5. type the following commands in terminal:-

sudo service gdm stop

sudo apt purge nvidia*

sudo apt install gcc

sudo apt install libglvnd-dev

sudo sh  cuda_10.2.89_440.33.01_linux.run (check all boxes and install) 

Once completed, you should able to see driver, toolkit and samples installed successfully. Then,

sudo reboot

nvidia-smi

No comments:

Post a Comment