Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

My device software dependencies are: dkms opengl gcc glibc kernel-headers. But when i install opengl it fail. What i have to use in 10.04 and 11.04 (i have both installed side by side for learning)

Follow up:

Step 1: dkms/gcc/glibc

# apt-get install dkms
# apt-get install build-essential

Step 2: kernel-headers

# apt-cache search linux-headers-$(uname -r)
>linux-headers-2.6.32-33-generic - Linux kernel headers for version 2.6.32 on x86/x86_64
# apt-get install linux-headers-2.6.32-33-generic

Step 3: OpenGL

# apt-get install opengl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package opengl
--- see answer

--- verify
# glxinfo | grep "OpenGL version"
OpenGL version string: 2.1 Mesa 7.7.1


share|improve this question
Since you're learning, I recommend you not to be root all the time. See – Lekensteyn Sep 23 '11 at 21:40
up vote 3 down vote accepted

Mesa's OpenGL libraries is provided by libgl1-mesa-glxInstall libgl1-mesa-glx. The development headers can be found in the libgl1-mesa-devInstall libgl1-mesa-dev package.

share|improve this answer
Thank you........ – YumYumYum Sep 23 '11 at 21:51

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.