Nvidia-Driver Installation In Ubuntu 18.04

Kaushal Agarwal
2 min readOct 25, 2018

Warning- I will recommend you to use the Command Line method inorder to install Nvidia proprietary driver instead of GUI method.Please make sure to keep a stable Internet Connection.

Reason For Using Command Line Method-

When I installed using GUI method,My login screen gets stuck in loop(2–3 times) after putting my laptop to sleep mode.But after reinstalling with Command Line method,It’s working fine for now…

First run the command given below in Terminal:

sudo apt-get purge nvidia-*

Gui Method

1- Press Windows button on keyboard.

2- Search for Software & Updates and Open it.

3- Select the Nvidia driver metapackage as per your choice.I will recommend the latest one.

4- Now Click On Apply Changes and Wait Patiently for some minutes until the driver package gets downloaded and gets installed and configured.

5- Just Reboot…. All done.

Command Line Method

Run the following commands in Terminal-

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

2- sudo apt update

3- sudo ubuntu-drivers autoinstall

4- Just Reboot…. All done.

Checking for Correct installation of Nvidia-Driver

Run the command given below in Terminal.

nvidia-smi

If you see output like above,then you are good to go.Thank you for reading guys,please do clap,if you like it…

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Kaushal Agarwal
Kaushal Agarwal

Responses (3)

Write a response