Ubuntu – Installing Nvidia driver on Kubuntu 15.10×64: The distribution-provided pre-install script failed! Continue installation anyway?”

driverskubuntunvidia

I try to install the Nvidia driver 340.93 on Kubuntu 15.10 x64 (graphic card: GTX 690). I performed the following steps:

  1. Go to http://www.nvidia.com/object/unix.html
  2. Download Latest Legacy GPU version (340.xx series): 340.93
  3. sudo sh ./NVIDIA-Linux-x86_64-340.93.run

Then I got the error message:

The distribution-provided pre-install script failed! Continue installation anyway?"

enter image description here

What could cause this issue?

Continuing the installation fails (black screen, need to remove Nvidia drivers).

Best Answer

You can install your driver via the package manager :

Open a terminal (Ctrl+Alt+T) and :

  1. Remove old nvidia packages :

    sudo apt-get purge nvidia*
    
  2. Install nvidia-340 driver :

    sudo apt-get update
    sudo apt-get install nvidia-340 nvidia-prime
    
Related Question