œœœ
apt packagessudo apt update
sudo apt upgrade
sudo apt install ubuntu-drivers-common
The driver version changes from platform to platform, CPU to CPU and a lot of other factors affect the driver version. So we shall install the driver recommended by Ubuntu.
sudo ubuntu-drivers autoinstall
sudo reboot
Run the following command:
nvidia-smi
First of all check the maximum version of CUDA supported by your device. You can do it by running the below command:
nvidia-smi