Hi Abir,
This can indeed be tricky to get right… There’s a wiki article about it, but in short: the OpenGL version you can reasonably access on your system will depend on your specific hardware, the version of the drivers you’re running it with, and whether you’re accessing the system locally or remotely.
If you’re accessing the system remotely, it’s going to be very difficult to get to work – see this wiki post for details. Given it’s reporting OpenGL 1.4, I wouldn’t be surprised if this is a remote connection – mesa
version 20 can normally provide OpenGL 4+ support even in software rendering mode…
If you’re running locally, then you need to figure out what your hardware is, and whether there are up to date OpenGL drivers for it that you can install. Running:
lspci
(potentially as super-user) will give you the details about your hardware. If it’s NVIDIA, ATI/AMD or Intel, you should definitely be able to run OpenGL 3.3 with the right drivers installed.