Comment 47 for bug 251107

Revision history for this message
Alex Stansfield (casualgenius) wrote :

JohnnyB:

If you, or other people, like me really want 3d back and just can't wait, I built the packages like so:

1. Download tar.gz and diff.gz files
2. create a directory (e.g nvidiadrivers), move the downloaded file into it and enter it
3. untar the tarball: tar -zxvf nvidia-graphics-drivers-96_96.43.09.orig.tar.gz
4. unzip the diff: gunzip nvidia-graphics-drivers-96_96.43.09-0ubuntu1.diff.gz
5. enter the unpacked directory: cd nvidia-graphics-drivers-96-96.43.09
6. patch the files: patch -p1 < ../nvidia-graphics-drivers-96_96.43.09-0ubuntu1.diff
7. get the build dependancies: sudo apt-get build-dep nvidia-glx-96
8. make debian/rules executable: chmod a+x debian/rules
9. unpack the drivers: ./NVIDIA-Linux-x86-96.43.09-pkg0.run -x (not sure why it didn't automatically do this but it failed if I didn't do it)
10. make binaries: sudo debian/rules binary

Binary deps should be created in the parent directory. Install them with dpkg -i. When I did this it didn't like one of the driver files I already had installed so I ran 'sudo apt-get install -f' to fix it. Then ran the dpkg -i again and it worked fine.

Please note, there is another extractable installer in there call NVIDIA-Linux-x86_64-96.43.09-pkg2.run. I guess this is for 64bit drivers so if you're building for 64bit you may need to extract that one too (see step 9).

If anyone knows a way of doing this with less steps please let me know.