hans

hans

【Linux】Manually Install Nvidia Graphics Card Driver ---- Ubuntu 14.04


Yesterday, I got a new computer, but it didn't have the Nvidia driver installed, and I couldn't install it automatically in the system settings.

So I had to manually install the Nvidia driver. The method is summarized as follows:

  1. Download the driver from the official website: http://www.geforce.cn/drivers

You can also skip downloading the driver and proceed to the next step directly.

2. Restart the computer, enter the BIOS, set the integrated graphics card as the boot graphics card, and connect the monitor to the integrated graphics.

  1. Restart the computer, press ctrl+alt+f1 to enter tty, enter your computer login account and password, and then disable lightdm.

    sudo service lightdm stop

Or run:

sudo /etc/init.d/lightdm stop

Replace "stop" with "status" to check the Xorg status.

  1. Check if there are any old driver files and delete them.

    sudo apt-get remove --purge nvidia-*

  2. cd to the driver directory and install the driver using the command sudo sh driver name.

If you haven't downloaded the driver beforehand, at this step, run:

sudo apt-get install nvidia-375

Done~~~

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.