Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
What language would you prefer? – eXlin Nov 4 '10 at 17:31
up vote 7 down vote accepted

StackOverflow is a better place for programming related questions, check

share|improve this answer
Ironically, the question you linked to was closed as off-topic. ;) – Thane Brimhall Oct 13 '14 at 21:45

As far as I know OpenGL is a graphic library, you only need an IDE depends on the language you want use OpenGL in it.

Anjuta Install anjuta is a perfect IDE for C and C++

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

share|improve this answer
+1. GLUT is what we learned on for graphics at uni. Fairly standard C bindings and there's lots of documentation. – Oli Nov 4 '10 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.