Desktop

How to Uninstall Manually Installed Nvidia Drivers in Linux

How can I uninstall Nvidia drivers on my Linux distribution?. There are two methods of installing Nvidia drivers on a Linux box, The first method is via OS repository, and the second method is installation from a binary package distributed by Nvidia.

Original content from computingforgeeks.com - post 15758

For Nvidia graphics divers installed from package repository, uninstallation can be easily done with your distro package manager. If you installed Nvidia drivers manually, run Nvidia installer script and pass the –uninstall argument to uninstall them.

$ sudo ./NVIDIA-Linux-x86_64-418.56.run --uninstall
Verifying archive integrity… OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 418.56…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

The uninstaller will ask a few questions during the process.

uninstall nvidia drivers 01

When uninstallation process is completed, a message like below will show.

uninstall nvidia drivers 02

Press OK to exit.

uninstall nvidia drivers 03

Installation of Nvidia drivers blacklists Nouveau by default. Remove the blacklist file under /etc/modprobe.d/. The name of the file could be different from once shown here. So double check by listing contents in the directory.

$ cat  /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

$ sudo rm /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
$ sudo rm /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf

Reboot your system to confirm if Xorg is working.

sudo reboot

Similar articles:

How to Install NVIDIA Drivers on Linux Mint 19 Tara

Easiest way to Install Nvidia 3D Graphics acceleration driver on Arch Linux

How to Install Tensorflow (CPU Only) on Ubuntu / Debian

Related Articles

Arch Linux Arch Linux vs Manjaro – Why I Use Arch / Manjaro Linux Desktop Browser for Multi-Accounting: Features and Benefits of Use Debian Configure RealVNC Server and Client on Debian 12/11/10 Debian Install Debian 13 (Trixie) Step by Step

Leave a Comment

Press ESC to close