

In the above command, ^ means beginning with, and * at the end means all packages containing ‘nvidia- at its beginning. $ sudo apt-get remove -purge '^nvidia-.*' If you are sure you want to purge all NVIDIA packages including nvidia-common, run the following command. If you want to individually remove each package, you can do it with ‘rm -r’ command.

Except, nvidia-common package, all other packages must be purged. You will see a list of packages with string ‘nvidia’ in their name. For this, open terminal and run the following command. You may need to force load nouveau module.įirst, search which NVIDIA packages have been installed. If you use remove –purge command for the NVIDIA drivers it will be fine. So we will reinstall those dependencies to ensure nothing is broken. This may cause certain dependencies to stop working, or even remove them from your system. Our approach will be to first find and list all NVIDIA packages on our system, and then use apt remove command to remove them. Here are the steps to uninstall NVIDIA drivers in Ubuntu. How to Uninstall NVIDIA Drivers in Ubuntu In this article, we will learn how to uninstall NVIDIA drivers in Ubuntu. Whatever may be the reason, if you find your system being limited due to NVIDIA drivers you may want to complete uninstall then from your system and re-install them. It may also be because NVIDIA driver is incompatible with your system kernel, or the graphic card itself. It may be because of a bug, or because of incompatible software on your system. But sometimes they may lead to issues and problems. Now run below command to check Nvidia module.NVIDIA drivers are popularly used by many Ubuntu/Debian users around the world.
:max_bytes(150000):strip_icc()/nvidia-xconfig-5c78589246e0fb00011bf29e.jpg)
sudo apt install nvidia-415Īfter installation reboot your system, So that your desktop load the new Nvidia driver. Then execute the below command to install recommended Nvidia graphics driver on your system. Next, identify the installed graphics card model and recommended driver for that by running the following command: ubuntu-drivers devices | grep "nvidia-driver"ĭriver : nvidia-driver-390 - third-party freeĭriver : nvidia-driver-415 - third-party free recommendedĭriver : nvidia-driver-396 - third-party free sudo add-apt-repository ppa:graphics-drivers/ppa

Keep in mind that its still under testing phase. Currently, it supports Ubuntu 18.10, 18.04 LTS, 16.04 LTS, and 14.04 LTS operating systems. Now enable the graphics-drivers PPA to your system. The first step is to purge currently installed Nvidia drivers so that it does not conflict with the newer versions on your Ubuntu systems.
