How to Fix ‘Libgl1 Mesa GLX’ Dependency Problems on Ubuntu 24

Let see how to fix libgl1-mesa-glx is not installable or Dependency is not a satisfiable error on Ubuntu.

libgl1-mesa-glx is not installable or Dependency is not a satisfiable

Libgl1-mesa-glx is an obsolete package, but some software still lists it as a dependency. To fix the issue, you need to first download the transitional libgl1-mesa-glx package and then install it.

To download libgl1-mesa-glx deb package run the following command:

wget http://archive.ubuntu.com/ubuntu/pool/universe/m/mesa/libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.deb

Then install the .deb file using apt command:

sudo apt install ./libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.deb

And that should fix the libgl1-mesa-glx is not installable error.