How to install the latest NVIDIA drivers on Debian 9 Stretch Linux -

Their proprietary drivers have been very well supported for the last few years, and they continue to be.

This is a companion discussion topic for the original entry at

Fernando López

Thank you very much!


To all the guys having problems, who are applying the first howto they found on internet instead of checking their distro’s man pages: HAHAHA

Domício Medeiros -> zambak

What a superior human being!


black screen after installing using the proprietary drivers (method 2)

Kadek Nanik Kencana -> Reda ABDI

same here

Gustavo Martínez

Thank you is very useful

Stevo Pusser

You also need the kernel headers in order to build the proprietary drivers. Easy way to make sure you have everything you need is to install module-assistant and run it as sysadmin:

m-a prepare


You’ll need to run apt update after adding the contrib and non-free repositories to your sources.list when installing the proprietary drivers - otherwise your ‘apt install…’ won’t see the new repositories.

Kalle Blom

Thanks, worked great on Stretch.


neither nouveau nor nvidia uses llvm.

John Freeman

None of them work.


Thank you very much. It simply worked!

If you have a laptop with an Nvidia card DO NOT USE THESE INSTRUCTIONS.
Follow this link and read what it says about identification and then follow appropriate instructions.