Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stuartsoft/8e39f158f6ada546d69973c639382cb5 to your computer and use it in GitHub Desktop.
Save stuartsoft/8e39f158f6ada546d69973c639382cb5 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment