1 / 10

How to Uninstall NVIDIA Drivers in Ubuntu

Sometimes you may need to uninstall NVIDIA drivers from Ubuntu/Debian systems. Here is how to complete uninstall all NVIDIA drivers in Ubuntu. #nvidia #ubuntu #webdevelopment <br><br>Visit https://techimbo.com/how-to-uninstall-nvidia-drivers-in-ubuntu/

Download Presentation

How to Uninstall NVIDIA Drivers in Ubuntu

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to Uninstall NVIDIA Drivers in Ubuntu

  2. Remove Purge If you use remove –purge command for the NVIDIA drivers it will be fine. You may need to force load nouveau module. First, search which NVIDIA packages have been installed. For this, open terminal and run the following command. $ dpkg -l | grep -i nvidia You will see a list of packages with string ‘nvidia’ in their name. Except, nvidia-common package, all other packages must be purged. If you want to individually remove each package, you can do it with ‘rm -r’ command. If you are sure you want to purge all NVIDIA packages including nvidia-common, run the following command. $ sudo apt-get remove --purge '^nvidia-.*' In the above command, ^ means beginning with, and * at the end means all packages containing ‘nvidia- at its beginning.

  3. Install Ubuntu-Desktop Now, if you have purged all NVIDIA packages including nvidia-common, then you should know that it has ubuntu-desktop as a dependency. So when you remove nvidia-common package, it may end up deleting ubuntu-desktop. So run the following command to reinstall ubuntu-desktop. $ sudo apt-get install ubuntu-desktop

  4. Enable nouveau module Sometimes, when you purge all NVIDIA packages, it may end up blacklisting nouveau module. To ensure that it is loaded during boot, add it to /etc/modules, with the following command. $ echo 'nouveau' | sudo tee -a /etc/modules

  5. Remove xorg.conf Lastly, remove xorg.conf file as well. $ sudo rm /etc/X11/xorg.conf That’s it. These steps should completely remove NVIDIA drivers from your system. Thy should work for all Ubuntu/Debian systems. Alternatively, you can also directly run the following command to uninstall NVIDIA drivers from your system. $ sudo nvidia-uninstall Please note, the above command may not work for all systems, but mainly for drivers installed from NVIDIA website.

  6. Install OpenSSL Run the following command to install OpenSSL. $ sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib $ sudo make $ sudo make test $ sudo make install

  7. Configure OpenSSL Shared Libraries Create a new configuration file openssl-1.1.1c.conf for OpenSSL at /etc/ld.so.conf.d/ $ sudo vi /etc/ld.so.conf.d/openssl-1.1.1c.conf Add the following line to it. /usr/local/ssl/lib Save and exit the file. Reload it with the following command. $ sudo ldconfig -v

  8. Configure OpenSSL Binary ( 1 of 2) Next, we are going to replace the binary of our old OpenSSL version at /usr/bin/openssl with the new one that we just installed at /usr/local/ssl/bin/openssl First we backup binary files. Then copy it with the following command. $ sudo mv /usr/bin/c_rehash /usr/bin/c_rehash.backup $ sudo mv /usr/bin/openssl /usr/bin/openssl.backup Open environment PATH variable. sudo vi /etc/environment

  9. Configure OpenSSL Binary ( 2 of 2) Add :/usr/local/bin/openssl folder to PATH variable. Please note the colon at the beginning of folder path. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo cal/games:/usr/local/ssl/bin" Save and close the file. Now reload the PATH environment with the following command. $ source /etc/environment Now if you check the OpenSSL version again, it will show the latest version, indicating that Ubuntu is picking the right OpenSSL. $ openssl version -a 1.1.1

  10. Thank You Visit for details https://techimbo.com/how-to-uninstall-nvidia-drivers-in-ubu ntu/

More Related