LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I uninstall the NVIDIA official driver (or any .run package)? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-uninstall-the-nvidia-official-driver-or-any-run-package-523891/)

isra_mv 01-29-2007 06:43 PM

How can I uninstall the NVIDIA official driver (or any .run package)?
 
I downloaded it from the nvidia web site, it's NVIDIA-Linux-x86-1.0-9742-pkg1.run and you execute it with "sh". I installed it, and now I need to install one from a repository ('cause this one didn't work). But I don't know how to uninstall this type of package.

macemoneta 01-29-2007 07:21 PM

Run the Nvidia installer again, and use the '--uninstall' option. For example:

# sh VIDIA-Linux-x86-1.0-9742-pkg1.run --uninstall

isra_mv 01-30-2007 04:39 PM

And if I installed the one from the repository, will I have problems when removing the official driver?

macemoneta 01-30-2007 05:10 PM

Yes, some of the same files are involved. To insure that everything is returned to its proper state, I suggest (as root):

1. Change to text mode: telinit 3
2. Remove the repository version: rpm -e xxxx yyyy
3. Remove the official version: sh ./NVIDIA-Linux-x86-1.0-9742-pkg1.run --uninstall

You should be back at the original configuration now. If you want to use the repository version, re-install it, and change to the X runlevel (telinit 5).


All times are GMT -5. The time now is 03:49 PM.