homesourcenvt

Nvidia GPU

Overview

DL Workstation

NVIDIA Diver Installation (version 384.98)

Linux AMD64 Display Driver Archive|NVIDIA

sudo yum update -y                      # CentOS
sudo apt update && sudo apt upgrade -y  # Ubuntu
sudo reboot
sudo yum install -y gcc kernel-devel    # CentOS
sudo apt install -y gcc make            # Ubuntu
curl -O http://cn.download.nvidia.com/XFree86/Linux-x86_64/387.34/NVIDIA-Linux-x86_64-387.34.run
chmod +x NVIDIA-Linux-x86_64-*.run
sudo ./NVIDIA-Linux-x86_64-*.run
nvidia-smi
sudo sh -c 'echo $'\n'"exclude=kernel*" >> /etc/yum.conf'       # CentOS
sudo apt-mark hold linux-image-generic linux-headers-generic    # Ubuntu

If nouveau was installed first: 16.04 - How to disable Nouveau kernel driver - Ask Ubuntu

Resources