I want to setup openGL programming environment on ubuntu. What packages or tools I should install and what is the best way of getting into openGL as a newbie.

  • 2
    What language would you prefer?
    – eXlin
    Nov 4, 2010 at 17:31
  • Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.
    – K7AAY
    Jan 30, 2019 at 19:08

2 Answers 2


As far as I know OpenGL is a graphics library. The IDE choice depends on the language you want use OpenGL in.

Anjuta is a perfect IDE for C and C++

sudo apt-get install anjuta

then you have to download OpenGL library:

sudo apt-get install freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev

after that you should include libraries (in folder gl/*) into your code

  • 2
    +1. GLUT is what we learned on for graphics at uni. Fairly standard C bindings and there's lots of documentation.
    – Oli
    Nov 4, 2010 at 20:34

StackOverflow is a better place for programming related questions, check https://stackoverflow.com/questions/859501/learning-opengl-in-ubuntu

  • 4
    Ironically, the question you linked to was closed as off-topic. ;) Oct 13, 2014 at 21:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .