Install / Uninstall NVIDIA Driver 390.42 On Ubuntu / LinuxMint

Share it:

In this Tutorial, I will tell you how to install the Latest stable version of NVIDIA Graphics driver 390.42 On Ubuntu 16.04 LTS and LinuxMint 18.

Nvidia Linux Display Driver is a proprietary, yet freely distributed OpenGL video driver that aims to offer support for Nvidia graphics cards on any Linux kernel-based operating system.

This version has been designed to be installed on computers supporting the 64-bit & 32-bit architecture and released on 12th March 2018 with a bug fix.

What's New in 390.42


  • Fixed a regression, introduced in 390.12, that caused occasional flicker when using the X driver's composition pipeline, for example when using screen transformations like rotation, or the "ForceCompositionPipeline" or "ForceFullCompositionPipeline" options."

Installation steps


  • Method 1: Via PPA
  • Method 2: Via Source file

Method 1: Via PPA

Step 1: Remove older version of NVIDIA if your graphic is supported
sudo apt-get purge nvidia*
Step 2: Add the PPA
sudo add-apt-repository ppa:graphics-drivers
Step 3: Update the repos
sudo apt-get update
Step 4: Install Nvidia graphics driver 390.42

Goto Softwares&Updates which is in System Settings and select the required driver version from the Additional Drivers tab, select the driver and click on Apply changes and then restart the pc


Note: IF you face any issues refer this link to Troubleshoot


Method 2: Via Source file

Step 1: Remove older version of NVIDIA if your graphic is supported
sudo apt-get purge nvidia*
Step 2: Reboot the system

Step 3: Download the Nvidia Driver 390.42

For 32bit

wget http://us.download.nvidia.com/XFree86/Linux-x86/390.42/NVIDIA-Linux-x86-390.42.run
For 64 bit
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/390.42/NVIDIA-Linux-x86_64-390.42.run
Step 4: Switch to command prompt and stop the running Graphics session

Press Ctrl+Alt+F1-F6 for switching to command prompt


For Ubuntu
sudo service lightdm stop
sudo service gdm stop
For LinuxMint
sudo mdm stop
Step 4: Give execute permissions to the installer
sudo chmod 755 NVIDIA-Linux-x86_64-390.42.run
Step 5: Install the Nvidia 390.42 driver
sudo ./NVIDIA-Linux-x86_64-390.42.run
After successful installation reboot the system.

Uninstallation of Nvidia driver 390.42

For uninstall run the below command
sudo NVIDIA-Linux-x86_64-390.42.run --uninstall
Share it:

Post A Comment: