Install / Uninstall NVIDIA Driver 340.106 On Ubuntu / LinuxMint

Share it:
Install / Uninstall NVIDIA Driver 340.106 On Ubuntu / LinuxMint

In this Tutorial, I will tell you how to install the Latest stable version of NVIDIA Graphics driver 340.106 On Ubuntu 18.04 / 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 this version released on 16th May

What's New in 340.106


  • Fixed a compatibility problem between the nvidia.ko's Page Attribute Table (PAT) support and the kernel Page Table Isolation (PTI) patches.
  • To optimize stores to memory, nvidia.ko contains support for configuring the CPU's PAT registers, as a fallback for Linux kernels that predate kernel native PAT support. On any recent kernel with CONFIG_X86_PAT enabled, the driver will detect that setup has already been done and skip its PAT setup. However, a static inline function called by nvidia.ko's PAT fallback support was updated in the PTI patches to use the EXPORT_SYMBOL_GPL symbol 'cpu_tlbstate'. nvidia.ko was updated to only contain its PAT fallback support, at build time, on kernels without CONFIG_X86_PAT.

Installation steps


  • Method 1: Via PPA
  • Method 2: Via Sourcefile

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 340.106

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

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 340.106

For 32bit

wget http://us.download.nvidia.com/XFree86/Linux-x86/340.106/NVIDIA-Linux-x86-340.106.run

For 64 bit
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/340.106/NVIDIA-Linux-x86_64-340.106.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-340.106.run
Step 5: Install the Nvidia 340.106 driver
sudo ./NVIDIA-Linux-x86_64-340.106.run
After successful installation reboot the system.

Uninstallation of Nvidia driver 340.106


For uninstall run the below command
sudo NVIDIA-Linux-x86_64-340.106.run --uninstall
Share it:
Next
This is the most recent post.
Previous
Older Post

Post A Comment: