Cheap VPS host selection
Provide server host evaluation information

Ubuntu Uninstall nvidia Graphics Card Driver Tutorial

In Ubuntu, to uninstall the NVIDIA graphics card driver, you need to perform the following steps:

  1. Open the terminal and run the following command to ensure that NVIDIA graphics card driver is installed in the system:
     sudo ubuntu-drivers devices
    

    This command lists the available video card drivers and marks the drivers currently in use.

  2. Confirm the driver version number to uninstall. You can skip this step if you want to uninstall the driver that is currently in use.
  3. Run the following command in the terminal to unload the NVIDIA graphics card driver:
     sudo apt- get  remove --purge nvidia-*

    This command will delete all NVIDIA related software packages and configuration files, and will disable NVIDIA graphics card drivers when the system starts.

  4. If other NVIDIA graphics card drivers are installed in the system, you can run the following command to uninstall them:
     sudo apt- get  remove --purge nvidia-[version]

    among version Is the version number of the driver to be uninstalled. For example, to uninstall a drive with version 390, run the following command:

     sudo apt- get  remove --purge nvidia-390
  5. Finally, run the following command in the terminal to update the system and restart the computer:
     sudo update-initramfs -u sudo reboot
    

    This command will update the initial RAM disk image of the system and restart the computer to ensure that the system can correctly load new drivers or use the default open source driver.

Note: Before uninstalling the NVIDIA graphics card driver, it is best to back up the system configuration and data in case of accidents. At the same time, if you need to reinstall the NVIDIA graphics card driver, you can refer to the official documentation or use the command line tool nvidia-installer To install.

Do not reprint without permission: Cheap VPS evaluation » Ubuntu Uninstall nvidia Graphics Card Driver Tutorial