CentOS, Ubuntu, Windows NVIDIA graphics card driver installation

Original link: https://chegva.com/5791.html

1. View display type

Linux:

 lspci | grep "VGA"

Windows:

  1. On Windows, you can use Device Manager to check your graphics card version.

  2. Open Device Manager by following these steps:

    1. Use the shortcut keys Win + X and select “Device Manager”.

    2. Alternatively, search for “Device Manager” in the Start menu and open it.

  3. In Device Manager, expand the “Display Adapters” category.

  4. Double-click the display adapter to expand its details.

  5. In Details you will find information about your graphics card, including its name and version number.

2. Install NVIDIA graphics card driver (version 470)

 # centos7.9 yum install nvidia driver rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org 
  
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 
  
# Check the applicable version yum install nvidia-detect 
  
nvidia-detect 
  
yum search kmod-nvidia 
  
# Install yum -y install kmod-nvidia-470xx.x86_64 
  
# There is output that nvidia-smi was successfully installed. 
  
 
  
# ubuntu18.04 Install nvidia driver ubuntu-drivers devices 
  
apt install nvidia-driver-470-server 
  
nvidia-smi 
  
apt install nvidia-xconfig nvidia-settings nvidia-prime 
  
 
  
# After the installation is complete, you need to reboot the machine.

Download graphics card driver installation directly from Windows official website

Download the required graphics card driver from the NVIDIA official website or GeForce official website .

refer to:

This article is reproduced from: https://chegva.com/5791.html
This site is only for collection, and the copyright belongs to the original author.