I'm unable to install Nvidia driver, and got stuck in a login loop after trying to install the Nvidia driver from ppa:graphics-drivers/ppa. I tried installing version 396, but I am not able to understand the error. I tried the following commands.
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-396
I got the following error:
I'm also unable to login into my account and coming back to the login screen after putting the login credentials.
nvidia-driver-396
ornvidia-396
first before installing thenvidia-driver-415
? I think you have to remove the old driver first since the system will try to upgrade instead of remove and install the new driver. – Terrance Feb 26 '19 at 03:25nvidia-396
is the incorrect name for the install from the PPA. It isnvidia-driver-396
for the install. You will probably now need to do the install from launching a TTY to run the install by pressing Ctrl+Alt+F2 to Ctr+Alt+F6. After the installation type in reboot so that the new driver can take effect. – Terrance Feb 26 '19 at 03:49sudo apt install nvidia-driver-396
. But it is unable to locate the packagenvidia-driver-396
– prb Feb 26 '19 at 04:03nvidia-396
or whatever version you are trying to install. Ubuntu 18.04 does the driver installation asnvidia-driver-396
. – Terrance Feb 26 '19 at 04:10