title: Installing Mesa 10 on Debian
body: <p>So, here's my problem - I want to complete <a href="http://www.arcsynthsis.org/gltut" rel="nofollow noreferrer">these</a> tutorials on a laptop with an HD4000 integrated graphics processor running Kali *nix. The trouble is that the edition of Mesa 3D installed is only version 8 or so, and therefore will only run an implementation of OpenGL which is too old - the tutorial requires OpenGL version 3.3 or higher. However, the recent release of Mesa 10 has made this possible by providing support for OpenGL 3.3!!</p>
  
  <p>So all I want to do is install Mesa 10 on my system, so I can complete these tutorials. I found <a href="https://stackoverflow.com/a/20589728/29469320">this</a> answer, but it seems to be for Ubuntu only. I tried running the suggested</p>
  
  <pre><code>1.) Add the PPA Repository
    $ sudo add-apt-repository ppa:oibaf/graphics-drivers
  2.) Update sources
    $ sudo apt-get update
  3.) Dist-upgrade (rebuilds many packages)
    $ sudo apt-get dist-upgrade
  4.) Reboot!
  In your code make sure you request a Opengl 3.3 context!
  </code></pre>
  
  <p>but after 2). I got the errors </p>
  
  <pre><code>W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/source/Sources  404  Not Found
  
  W: Failed to fetch http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found
  </code></pre>
  
  <p>I also downloaded the tar.gz Mesa 10 file from the website directly, and configure it after running </p>
  
  <pre><code>sudo apt-get build-dep mesa
  </code></pre>
  
  <p>Though this produced the error;</p>
  
  <pre><code>configure: error: Package requirements (libdrm_radeon &gt;= 2.4.46) were not met:
  
  Requested 'libdrm_radeon &gt;= 2.4.46' but version of libdrm_radeon is 2.4.40
  </code></pre>