

Generally, you will want to run this ONLY if you are unable to figure out what else is stuck on your computer preventing the proper execution of nvidia drivers, but it generally will un-stick your issue if it's because there's a leftover package somewhere that hasn't been properly removed before reinstallation. This script will completely remove and unload modules/drivers and associated libraries that are neccessary for nvidia to operate. Purge_nvidia.sh A much more involved big undo script: You should basically be able to just run this and remove nvidia packages, then change to an earlier driver version if you find that a newer driver breaks your setup. Very helpful for driver version rollbacks. Remove_tool.sh: Removes any and all nvidia associated packages with a for-loop running through dpkg -l. test with nvidia-smi for driver access, and then prompt you to restart.Recompile the initramfs to include the new drivers and omit the old.Blacklist the NOUVEAU driver baseline for default cards (often will cause nice new GPU's to boot into a graphic error).Prompt for your selection of driver (or pressing return will select the recommended one).

Run a request to check the hardware of your NVIDIA card.Add the PPA for "ubuntu-drivers" which handles NVIDIA driver installation repositories.Check for and perform base updates (sudo apt update & sudo apt upgrade -y).The NVIDIA_drivers script will perform the following actions on your machine: Reboot your machine when prompted to re-initialize your platform with the latest driver available for your host.nvidia_driver_rhel.sh for rhel/fedora/dnf/yum environments. NVIDIA_drivers.sh for ubuntu/deb/apt environments, or sudo. A simple bash script for automatic install of the proper nvidia drivers on Debian/ubuntu How to use this repository:
