Building mesa Install all build dependencies for mesa. Clone the mesa repo to ~/Projects/mesa. Build mesa. Install the mesa version you just built into ~/mesa (not the same as the above directory) Create a script which can tell games / apps to use the libraries from ~/mesa instead of what is on your system out of the box.