sudo apt-get update
sudo apt-mark hold libreoffice
sudo apt-get update && sudo apt-get upgrade
uname -r
sudo echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
sudo echo "option nouveau modeset=0
" >> /etc/modprobe.d/blacklist.conf
sudo update-initramfs -u
reboot
lsmod | grep nouv
sudo service lightdm stop
cd Downloads/ # the folder to hold NVidia Driver
sudo apt-get purge nvidia* # make sure remove all nvidia driver
# install some libs
sudo apt install dkms build-essential linux-headers-generic
sudo apt-get install lib32ncurses5 lib32z1
# install driver, in every option, choose yes or continue
sudo ./NVIDIA-Linux-x86_64-430.50.run -no-x-check -no-nouveau-check -no-opengl-files
sudo service lightdm start
sudo update-initramfs -u
sudo reboot
# after reboot
nvidia-smi