How to install Nvidia video drivers on Ubuntu 18.04?

nvidia ubuntu

nvidia ubuntu

If you are have a video card in their computers or even if your motherboard counts with an integrated Nvidia video chip, they will know that want good performance and better graphics quality You must install the drivers for your card.

A few years ago, doing this process used to be a bit laborious, but today we have quite a few alternatives to be able to obtain the drivers for our video chipset in our system without many complications.

This article is focused mainly for newbies and beginners of the system.a, since this is usually one of the topics that you initially touch when you start to configure your system.

Before starting with the installation of the drivers in any of the methods that I am going to share with you it is necessary that we know what model of video card or chipset we have, this in order to know what we are going to download and install.

So to know this little information in case you don't know it We must open a terminal and execute the following command:

lspci | grep VGA

Which will respond with the information of the model of our cardWith this information, we proceed to download the driver.

Installed the Nvidia drivers from the official Ubuntu repositories

Now we can execute another command which will tell us what model and video driver is available through the official Ubuntu channels.

Only we must type in the terminal:

ubuntu-drivers devices

With what should appear something similar to this, in my case:

vendor   : NVIDIA Corporation

model    : GK104 [GeForce GT 730]

driver   : nvidia-390 - distro non-free

driver   : nvidia-390 - distro non-free

driver   : nvidia-390 - distro non-free recommended

With which we obtain the most current driver that we can install from the official Ubuntu repositories.

We can obtain a simple installation in two ways, the first is that the same system takes care of it, so in the terminal we execute:

sudo ubuntu-drivers autoinstall

Now if we want to indicate a specific version that is found within the repositories, we just type, taking as an example what the command ubuntu-drivers devices showed me

sudo apt install nvidia-390

Installed the Nvidia drivers from PPA

Hello

Another method we have to obtain the drivers for our video chipset it is by using a third party repository.

Although it is not an official channel, This repository has the Nvidia driver versions more immediately, so it can be a good option if you always want to have the latest as quickly as possible.

To add the repository to our system we must type in the terminal:

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

sudo apt-get update

And to know which is the most current version compatible with our chipset, we type again:

ubuntu-drivers devices

Where it will tell us which version we should install, which we do with:

sudo apt install nvidia-3xx

Where you replace xx with the version that I display.

Installed the Nvidia drivers from the official website

Finally the last option we have to install the Nvidia video drivers on our computers is by downloading it directly from the official Nvidia website.

In which we must go to the following link and we must place the data of our model graphics card to give us the most current compatible driver.

After the download, we can proceed to install on the system. For this we have to unzip the file and open a terminal to position ourselves on the folder where the file that we unzipped and installed was left with the following command:

sh NVIDIA-Linux-xx_xx_xxx.run

The driver version may vary depending on the model of your card. You just have to wait for the installation to finish and restart your computer so that the settings are saved.

And with this they will be able to find the Nvdia configuration utility on their systems.