I need to install Grass GIS on my Amazon Linux 2 AMI instance which is of type t2.small
During the configuration of Grass GIS it stopped with
checking for GL/gl.h... no
configure: error: *** Unable to locate OpenGL includes.
To install OpenGL and/or its includes, I've tried following (all with sudo
)
yum install libx11-dev
yum install libx11
yum install libX11
yum install libX11-dev
yum install libglu1-mesa-dev
yum install freeglut-devel
yum install freeglut3-dev
yum install mesa-common-dev
As far as I can remember, all of them returned a message of this kind (message translated into English)
amzn2-core
no package named libX11-dev which can be used
Question #1
I kept on searching and found this post which seems to say that in order to use OpenGL, the instance type should be G2
Is that right?
If that's the case then I presume that the G2
type has a capable graphics hardware whereas my instance t2.small
(or shortlyT2
?) is likely to have no capable graphics hardware.
lspci | grep VGA
gives: 00:02.0 VGA compatible controller: Cirrus Logic GD 5446
Question #2
Is it in any way possible to install OpenGL on t2.type
(whether using yum
or using the source codes and building OpenGL from scratch) ?