Hello @Chaitanya2923, Ubuntu's repositories definitely provide those packages.
What does running apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 give you?
sudo apt-get install libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
Remove the commas:
sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386
Valve idea: per-distro instructions on the Steam download page. The Ubuntu package, for example, depends on these OpenGL i386 packages. (Checked on Ubuntu 19.10.)
Thing to see: OpenSuSE One Click Install. I'm not sure how popular this distro or this feature remain, but some time ago it was very cool. Website has "YMP" manifest file that has list of packages and/or repositories to add. YaST software manager asks permission to add any repositories/keys, then proceeds to software selection manager with packages and their dependencies "checked" for installation. It will also ask about installing "recommended" (optional/feature) deps/packages.
Edit: I am not familiar of this feature being in any other distro, maybe I can recommend this to Ubuntu :)
Edit2: The really cool thing about this, is YMP is just a text file opened by native YaST program. So there is no DEB download, no terminal, no apt-get install. Just click in browser and prompt to install.
Edit3: This feature was in SuSE 10.1, I had a DVD. This version released 2007 it seems. Not sure when the feature itself was added.
Edit4: The software manager also lets you adjust required and recommended package changes as well as add your own. I miss OpenSuSE :(
Hello @Chaitanya2923, Ubuntu's repositories definitely provide those packages.
What does running
apt policy libgl1-mesa-dri libgl1-mesa-dri:i386give you?
Thanks for the reply. Actually installing freeglut helped me overcome all of these complexities :)
Nothing extracted yet.
I tried to install OpenGL on my system using the command :
sudo apt-get install libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
But unfortunately, I get this error :
E: Unable to locate package libgl1-mesa-dri:i386,
E: Unable to locate package libgl1-mesa-glx:i386,
What's the actual problem, and how to resolve it? I'm quite new to Ubuntu.
Thank you.