How to Install a Nvidia driver in Linux
Step 1:
Check the Required Driver Version.
Choose the required Nvidia driver version for your GPU and operating system by visiting the Nvidia website: https://www.nvidia.com/download/index.aspx
Firstly, we should select the product type to Data Center / Tesla.
Step 2:
Download the Driver.
Press the “Download” button to download the specified driver version.
Step 3:
Install the Driver.
After downloading the driver, open a terminal.
Navigate to the directory where the downloaded driver file is located.
Run the following command to install the driver, replacing “x” NVIDIA-Linux-x86_64-xxx-xxx.run –silent –dkms with the actual filename:
The installation process will begin. Wait for it to complete.
Step 4:
Verify the Driver Installation.
After the installation is complete, you can check the currently installed driver version by running the following command in the terminal: “Nvidia-smi”
The output will confirm the installation of the new driver version.