Skip to main content

Nvidia Driver Installation

warning
  • Secure Boot must be turned off in your bios for the drivers to install successfully
  • These instructions are for Ubuntu 24.04, if you are running a different version or distro take caution

Add Nvidia PPA

Ensure your system has the latest packages

sudo apt update && sudo apt upgrade -y

Add the Nvidia PPA

sudo add-apt-repository ppa:graphics-drivers/ppa

When prompted hit ENTER to continue. Pull the latest packages

sudo apt update

Check which drivers are available. I usually go with the 'recommended' version

ubuntu-drivers devices

Install Drivers

Once you identify the driver you wish to install, use apt to install it

sudo apt install nvidia-driver-<DRIVER VERSION>

Reboot for the changes to take effect

sudo reboot now

Confirm Installation

Check nvidia-smi to see if the GPU is detected and the correct driver version is installed

nvidia-smi

I have the nvidia-driver-560 installed at the time of this guide, and my output reflects that

nvidia-smi