Follow the instructions at https://docs.mesa3d.org/install.html
NOTE: Add the following when calling meson:
-Dprefix="/home/peter/projects/mesa-installation"
After Install…
glxinfo | grep Mesa LD_LIBRARY_PATH="/home/peter/projects/mesa-installation" glxinfo | grep Mesa
NOTE: Use this command with LD_LIBRARY_PATH.