[deprecated]
- please refer to GPU-journey-install-nvidia-drivers instead.
The ppa we used to get debian package for nvidia driver is there: ppa
But how if we’d like to try more newer driver which has been released to nvidia offical website but not be collected to ppa yet?
there are some threads talk about that, but seems all out of date, the package nvidia-graphics-drivers is not there anymore.
So, we could achive it by a tricky way:
- download xxx.run from nvidia offical website, ex. 375.xx.run
- get the closet version of package source code, ex. 357.oo.deb
- copy the downloaded 375.xx.run to package source, and release the old one.
- NVIDIA-Linux-x86-375.26.run
- NVIDIA-Linux-x86_64-375.26-no-compat32.run
- replace all version related strings:
$ find debian -type f | xargs sed 's/375.26/375.30/g' -i
- bump version,
dch
- build it
debuild -i -b -us -uc
- then you get the packages needed.
- btw, nvidia-prime package is a common tool used to select active GPU by
prime-select