Skip to content

Instantly share code, notes, and snippets.

@LiamPerson
Created April 8, 2025 12:03
Show Gist options
  • Save LiamPerson/46b4cfbf9e5dd846230b292ce045a7aa to your computer and use it in GitHub Desktop.
Save LiamPerson/46b4cfbf9e5dd846230b292ce045a7aa to your computer and use it in GitHub Desktop.
How to install NVIDIA drivers on Debian 11

How to install NVIDIA drivers on Debian 11

  1. Install a bunch of dependencies: apt install libxml2 libstdc++6 linux-headers-$(uname -r) build-essential libglu1-mesa-dev libx11-dev libxi-dev libxmu-dev freeglut3 freeglut3-dev
  2. Reboot
  3. Download the cuda installer https://us.download.nvidia.com/XFree86/Linux-x86_64/570.133.07/NVIDIA-Linux-x86_64-570.133.07.run
  4. Make the installer executable: chmod +x {the-file}
  5. Run the file as the root user: su - (the - is important so you can have access to $PATH!)
  6. Accept the license. It will fail. It did some changes before it died though such as disable noveau. Just reboot and try again.

That's it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment