1) Download appropriate .run file from Nvidia's website https://www.nvidia.com/Download/index.aspx?lang=en-us 2) install gcc, make, and linux headers sudo apt install linux-headers-$(uname -r) gcc make pkg-config libglvnd-dev 3) Sign out to the login screen and press Ctr Alt F3 4) Kill the desktop manager sudo telinit 3 5) Run the installer bash sh 6) Enroll the kernel module sudo mokutil --import /usr/share/nvidia/nvidia-modsign-crt-xxxxx.der 7) Reboot and enroll the kernel module with secure boot https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#pre-installation-actions https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html https://ubuntu.com/blog/how-to-sign-things-for-secure-boot https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux