Reference 'https://medium.com/@avinchintha/how-to-install-nvidia-drivers-and-cuda-10-0-for-rtx-2080-ti-gpu-on-ubuntu-16-04-18-04-ce32e4edf1c0' with modification
sudo apt-get purge nvidia-*
sudo apt install gcc
sudo apt install build-essential
gcc --version
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/410.57/NVIDIA-Linux-x86_64-410.57.run
chmod +x NVIDIA-Linux-x86_64–410.57.run
sudo ./NVIDIA-Linux-x86_64–410.57.run --no-x-check
Option displays during installation
- Continue Installation
- 'No' to every other options
sudo reboot
sudo apt-get purge nvidia-cuda*
blacklist nouveau
options nouveau modeset=0
ctrl + alt + f3
sudo -i
sudo cp /home/'user_name'/blacklist-nouveau.conf /etc/modprobe.d
sudo update-initramfs -u
exit
cd Downloads/
sudo sh cuda_10.0.130_410.48_linux.run
- press 'Q' to skip the reading
- type 'accept' and enter
- press 'n' and enter # Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 410.48? 'n'
- press 'y' and enter
- press 'enter'
- press 'y' and enter
- press 'enter'
- press 'y' and enter
- press 'y' and enter
- press 'enter'
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
nvcc -V
sudo reboot
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
source ~/.bashrc
nvcc -V
Thanks. I added my notes for RHEL-8 here https://gist.github.com/sub-mod/a21a2d71026a9d25f8b687e369e9729e