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.

What are Linux headers? Why are there two headers namely 3.5.0-34 and 3.2.0-48 in my latest Ubuntu update (just an observation).

share|improve this question
    
Note that you can remove these old headers: ubuntugenius.wordpress.com/2011/01/08/… –  Justin Jul 16 '13 at 15:51

1 Answer 1

These packages contain files that are part of the source code of the Linux kernel, available under /usr/src if you would like to take a look. They are just the makefiles and header files (file extension .h), which define the public API of the kernel, which is needed to compile programs that interact with the kernel directly (two examples that come up in internet searches are device drivers and virtualization software).

You have two versions because one is for your current kernel and the other is for an older kernel that you used previously. Ubuntu by default is very conservative with kernel-related files and takes a number of precautions to avoid removing them when they are still needed, and sometimes this results in a gradual accumulation of such packages as new versions are installed.

share|improve this answer
    
Thank you, that was a very good answer. –  Srikanth Suresh Jul 19 '13 at 15:19

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.