Low Orbit Flux Logo 2 D

How to Uninstall Nvidia Drivers Ubuntu

How to Uninstall Nvidia Drivers Ubuntu

It isn’t as hard as you might imagine to uninstall Nvidia drivers on Ubuntu Linux. We are going to show you how to remove the official drivers from Nvidia and the drivers from the repo, whichever you happen to have. We’re going to assume that you will be installing/enabling the Nouveau drivers after this. If you don’t want to do that then just skip that part.

These instructions are for Ubuntu 20.04. They may work on other versions but there could also potentially be differences. Your mileage may vary.

Remove Nvidia drivers installed from the repository:


sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')
sudo apt autoremove

Remove Nvidia drivers installed from the official Nvidia site:


sudo bash NVIDIA-Linux-x86_64-XXX.XX.run --uninstall
sudo nvidia-xconfig --restore-original-backup

Make sure that the Nouveau drivers are installed and not black listed:


sudo apt install xserver-xorg-video-nouveau
sudo rm /etc/modprobe.d/blacklist-nvidia-nouveau.conf

Reboot when you are done.