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.
StackOverflow is a better place for programming related questions, check http://stackoverflow.com/questions/859501/learning-opengl-in-ubuntu
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 is a perfect IDE for C and C++
then you have to download OpenGL library:
after that you should include libraries (in folder gl/*) into your code