I'm trying to compile code that uses OpenGL and I need libgl1-mesa-dev package for it. Of course there is no way to install it through apt-get. Conda doesn't have any mesa package with dev headers either. Is there any way to install that package?
Thanks in advance
Could you please let us know the environment where you are trying out. If it's not Devcloud, the built-in APT package manager can be used to install libgl1-mesa-dev package on Ubuntu server. For that, run the below install command with -y flag to quickly install the packages and dependencies:
sudo apt-get install -y libgl1-mesa-dev
Are you able to install the required package using the given apt-get command? If not, could you please share the requested environment details so we can help you more.