[centos] centos7 uninstall graphics driver

Find the graphics card driver.run file:
sudo ./NVIDIA-Linux-x86_64-460.106.00-k80.run --uninstall

The above is that it can be easily uninstalled by uninstalling the run file. This method is strongly recommended. If not, you can use the command line
yum remove nvidia-*
rpm -qa |grep -i nvid|sort
yum remove kmod-nvidia-*

Remember to restart the system after uninstalling: sudo reboot

Special Note: Please confirm whether your system version is centos7, method

Use the lsb_release -a command to view;

Prompt command not found

Use the cat /etc/centos-release command to view;

Use the cat /etc/issue command to view.

It can be seen that it is most convenient for us to use cat /etc/centos-release to view the cenos version

 

Guess you like

Origin blog.csdn.net/FL1623863129/article/details/131163887