Mesa3d to run citra on Ubuntu or Linux mint?

Please help me installing mesa 3d to use citra without opengl in Ubuntu or Linux mint on my computer, my pc is so old and it can’t run Windows 10 that’s why i need.