Tell me more ×  i want to write a device driver but not able to
find the header file can someone please help me find them?Also
if someone can point out some important site links that would be
really appreciated  share|improve this question add comment  2
Answers  up vote 10 down vote accepted  You should be able to
install the kernel header files for the currently running kernel
by running the following in a terminal:   In general, the kernel
header packages are named linux-header-* where "*" indicates the
version & variant (generic, server, etc.).  share|improve this
answer hey thanks but could you tell me what does generic,
server, etc means i want to write (kernel driver) –  coder Nov 6
'11 at 3:39 This won't install the headers for future updates
automatically and you'll have to re-run this command every time.
Therefore, it's recommended to install the metapackage instead,
as described in another answer. –  gertvdijk Jun 25 at 21:13 add
comment  You can just type:  sudo apt-get install linux-headers-
gener