Updating NVIDIA drivers on Ubuntu based OS
Updating drivers on a VDS with an NVIDIA GPU running Ubuntu
1. Log in to your VPS as root via SSH
2. Detecting the GPU Driver
In your terminal, run the following command:
$ nvidia-smiThe output should look similar to the screenshot below.

3. Updating the driver package
Update your server packages and your drivers to their latest minor release version.
3.1 Updating to the next major version.
While the package manager automatically updates your drivers to the latest minor version from NVIDIA, to update to the next major version of NVIDIA drivers, run the following command:
4. Reboot your VPS
Now, reboot your VPS with the following command
And done! You've successfully updated your NVIDIA drivers to the latest version available.
Last updated