Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

Done.

share|improve this question
1  
Since you're learning, I recommend you not to be root all the time. See askubuntu.com/q/16178/6969 –  Lekensteyn Sep 23 '11 at 21:40
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.