Install Nvidia drivers on Debian [and Ubuntu] Linux

Install Nvidia drivers on Debian and Ubuntu Linux

Many Linux enthiuasts use Linux System with high end specs and find Nvidia drivers difficult to install, the main reason behind this difficulty is that Nvidia is not open source thus it needs to done manually most of the time.

Before we install anything make sure everything is up to date.

sudo apt update

Now we need to install small software that will tell you what exact drivers you’ll need for Linux system.

Skip this step if you do not wish to test the system and want to install drivers directly.

sudo apt install nvidia-detect

Now run the following command and see it’s output.

Skip this step too if you do not want to test.

sudo nvidia-detect

It will tell you what drivers you’ll need based on hardware.

It was suggesting me to install nvidia-driver as I have Nvidia GTX 1060 in my computer system.

Now all you need to do is install that and wait for it to finish.

Since the nvidia driver is large in size it may take few seconds to minutes based on your internet speed.

sudo apt install nvidia-driver

While nvidia driver is being installed you may be prompted for a note that nouveau will be black listed or disabled and some thing like that, that will be fixed with simple restart when installation is finished.

Reboot the system once and it will apply the nvidia driver in action.

Leave a Reply

Your email address will not be published. Required fields are marked *