← ~/content

Nvidia Driver Installation

Tutorial~1 min read
Nvidia Driver Installation
beginner~3 min
Watch on YouTube

Note: 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

Terminal output of nvidia-smi command showing NVIDIA-SMI 560.35.03, Driver Version 560.35.03, CUDA Version 12.6, with an NVIDIA GeForce RTX 3070 detected

Related Products

Some links are affiliate links. I may earn a small commission at no extra cost to you.