Install Nvidia Drivers in Ubuntu 18.04 Bionic Beaver Linux

Last Updated on May 20, 2018

In this tutorial, we are going to install the latest Nvidia drivers in Ubuntu Linux 18.04 Bionic Beaver.install-nvidia-drivers-ubuntu-18-04-bionic-beaver-linux

Install Drivers Using the apt install

This is the simplest of all and the recommended way that you should go about installing the Nvidia drivers on your Ubuntu device.

You first, need to update your local repositories and then install drivers using the apt install command.

sudo apt update && sudo apt upgrade

After the update is complete, use the ubuntu-drivers command to see what drivers you have.

ubuntu-drivers devices

The result of this command will be something as follows:

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00000FFBsv00001462sd000010DBbc03sc00i00
model    : GK107GLM [Quadro K2000M]
vendor   : NVIDIA Corporation
driver   : nvidia-331-updates - distro non-free
driver   : nvidia-304 - distro non-free
driver   : nvidia-304-updates - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

== ==
driver   : intel-microcode - distro free

Here, you will get the model and the drivers that your Ubuntu 18.04 PC needs to have.

Based on this output, you can see the GPU model GK107GLM on the graphics card Quadro K2000M. The driver you thus need to install is nvidia-331.

You can automatically install the recommended driver using the following command.

sudo ubuntu-drivers autoinstall // or sudo apt install nvidia-331

The driver version will most probably be different than 331 if you are reading this post in the future. Use the latest one for the most support.

Once the installation is complete, restart your Ubuntu 18.04 Bionic Beaver Linux PC/laptop. The drivers will work correctly.

Photo of author

Written by Utkarsh

Utkarsh Bhatt is a certified tech expert and software engineer for a Fortune 500 Company. He was born in 1995, making him one of the oldest members of the team at EFX. Utkarsh loves solving technical issues and is always the first to jump on any problem that needs solving. When he’s not coding or debugging, he enjoys playing video games (especially Super Smash Bros.) and watching cartoons.

Share on:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.