Nvidia Driver Installation on Ubuntu
Nvidia Driver Installation
- Check if the driver is already installed by running
nvidia-smi
. To remove the driver, run sudo apt purge nvidia*
followed by sudo apt autoremove
.
- First, run
sudo apt update
.
- Install the correct Linux headers
sudo apt install linux-headers-$(uname -r)
.
- Install ubuntu-drivers
sudo apt install ubuntu-drivers-common
.
- Install the recommended driver from
ubuntu-drivers devices
, e.g. sudo apt install nvidia-driver-550
.
- Remember to reboot the system.