title: OpenGL Without GUI
body: <p>Let's say I run a Linux and I have no desktop environment installed. I boot up my system and all I have is my shell.</p>
  
  <p>Is it possible to compile a program  that uses the OpenGL libraries or directly uses the GPU driver to draw to the screen?</p>
  
  <p>As far as I could understand I would always need some kind of desktop environment that would provide me a window that I can draw on. To keep it 
   simple let's say I just want to draw a simple 2d shape like a triangle in the middle of the screen for example.</p>
  
  <p>And if that's possible how can I do it and where can I read more about the topic? If I am able to draw directly over my terminal does this mean that I would be able to run my app on a system that has a desktop environment and still be able to see my triangle?</p>