How did I install the latest Nvidia driver to Ubuntu 18.04 from `ppa:graphics-drivers/ppa`?

Step 1

I have removed the previously installed Nvidia driver and CUDA:

apt-get --purge remove "*cublas*" "cuda*"
apt-get --purge remove "*nvidia*"
reboot

docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#removing-cuda-tk-and-driver

Step 2

add-apt-repository ppa:graphics-drivers/ppa
apt update
aptitude full-upgrade
ubuntu-drivers devices

04

Step 3

apt install nvidia-driver-418
reboot
nvidia-smi

02