Nvidia makes top-rated gaming graphics cards. However, for a long time, updating Nvidia drivers on Linux desktops was not so easy. Luckily, now the Proprietary GPU Drivers PPA packages updated nvidia-graphics-drivers for Ubuntu ready for installation.
- Here nvidia-current-updates is the module name, 304.64 is the module version and 3.2.0-37-generic is the kernel version. Remove all the nvidia modules. For example, to remove the above: $ sudo dkms remove nvidia-current-updates/304.64 -k 3.2.0-37-generic Step 2: Install NVIDIA drivers. Now install back the drivers.
- Sudo apt-get install nvidia-331. Installation Fails. If the restricted driver remains unactivated after attempting to activate it in the Additional Drivers dialog, you may not have the appropriate linux headers installed to compile the driver.
Currently, many people in the computer install Nvidia Drivers to play games. Earlier Nvidia Drivers only supported Windows and Mac, but now they also support the Linux operating system, so now you can enjoy gaming on Linux too. Nvidia makes top gaming graphics cards but Nvidia driver installed on a Linux desktop is not easy, but it is now easier. In this article am going to show you ‘How to Install NVIDIA Drivers on Ubuntu’.
Install NVIDIA Drivers on Ubuntu
Follow the below Steps to Install NVIDIA Drivers on Ubuntu:
Now just enter the following command and start adding GPU driver PPA to the package sources in the Ubuntu system.
update your system package by entering following command.
Also Read- How to Install Latest GIMP 2.10 in Ubuntu 18.04.1
Enter the following command to install Nvidia’s latest version. Writing the article Nvidia-390 is the latest version so Nvidia-390 is entered in the command.
After installing the Nvidia driver, reboot the system and check Nvidia driver. To check Nvidia drivers, go to the application and search for ‘Nvidia’
Search Install Nvidia drivers
Also Read- How to Install Kernel Headers in Ubuntu.
Now you can see NVIDIA Drivers is successfully installed. Now you can enjoy gaming. You can check NVIDIA using the following grep command.
If the Nvidia driver does not work in your Ubuntu system, use the following command to remove it.
Also Read- How to Install VLC Media Player on Ubuntu.
If you want to uninstall graphics-drivers completely then you can use the following command.
Also Read- How to Create GIF File from Video on Linux Using Gifcurry.
That’s all, In this article, we have explained How to Install NVIDIA Drivers on Ubuntu. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.
Due to the large number of Install guides, all with different methods I decided to make one central guide with the methods that worked for me. This guide will Cover installing the Ubuntu provided drivers and also the binary drivers from Nvidia itself.
To install Ubuntu provided Nvidia drivers ( If the sources 'additional drivers' didn't work for you either):
1)Ctrl-Alt-F1 and login as your username
2)
and headers
3) Uninstall nvidia driver - this depends on which version you tried to install from additional drivers :
4)NOTE:You can install 'nvidia-current' 'nvidia-current-updates' or 'nvidia-experimental-304'
5)
That should get the nvidia drivers of your choice working.
I recommend that rather than installing the experimental branch of drivers, that you just go ahead and install the binary drivers from Nvidia.
At your own Risk!
To Install Binary Drivers from Nvidia(This is what worked for me):
This guide assumes you have the above Nvidia drivers working, if not skip step 1.
But I believe you will still need to install the headers outlined in the above guide. ^^^ Step 2
0)Download the drivers from Nvidia depending on your card, and place the .run on your desktop. Right click and go into properties and find 'Allow executing as a program' and click it.
http://www.geforce.com
1) NOTE: Depends on which version you currently had above (nvidia-current-updates' or example)
THIS STEP IS ONLY FOR USERS WITH NVIDIA DRIVERS ALREADY INSTALLED.
If not, please skip step 1.
2)
3) ctrl-alt-f1
4)Login
5)Then switch to the directory where your drivers are (I put mine on my Desktop)
6)Then install the driver:
Then hit tab and Ubuntu will automatically fill in the exact driver name so you don't have to type out the long name. (Granted you don't have another N-titled launcher)
7)Follow the prompts and install the driver.
If you get an issue with Nouveau (like I did at first)
9) Then reinstall the driver (If you can) and if even if you cannot, run:
and reboot.
Ubuntu Install Nvidia Proprietary Driver
You should now have a working Nvidia driver without messing with black lists and Nouveau drama.
Closing thoughts: Please take note that with every kernel you will have to reinstall the Nvidia drivers of your choice if and only if you installed the .run file.
Thank you for your time, and please let me know if this guide can be improved, or it didn't work for you. Both of which I will try to correct, thank you. -Dlambert
Sources:
http://askubuntu.com/questions/20257...nvidia-drivers
https://help.ubuntu.com/community/Bi...erHowto/Nvidia
http://linuxers.org/howto/how-remove...drivers-ubuntu
Nvidia Drivers
http://askubuntu.com/questions/20342...n-ubuntu-12-10