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

Keep reading

Install Arch Linux the Easy Way with archinstall Arch Linux Install Arch Linux the Easy Way with archinstall How to Install CachyOS: Step-by-Step Guide Arch Linux How to Install CachyOS: Step-by-Step Guide Backup and Restore Linux Systems with Timeshift Debian Backup and Restore Linux Systems with Timeshift 12 Things to Do After Installing Peppermint OS Desktop 12 Things to Do After Installing Peppermint OS How to Install Peppermint OS Step-by-Step (With Screenshots) Desktop How to Install Peppermint OS Step-by-Step (With Screenshots) Best Linux and macOS Shells Compared – Bash, Zsh, Fish, PowerShell, Nushell Desktop Best Linux and macOS Shells Compared – Bash, Zsh, Fish, PowerShell, Nushell

Leave a Comment

Press ESC to close