kernel source code tree

amit mehta gmate.amit at gmail.com
Mon Feb 11 01:17:02 EST 2013


> On Sat, Feb 9, 2013 at 7:48 AM, sunil <sunil.slvphsn at gmail.com> wrote:
>>
>> Hi all,
>>
>> need help, I am trying to write simple device driver. But before that
>> i need to download kernel source code tree

To write a driver, you don't need the kernel sources, Installing the
kernel headers should be enough. Installing the kernel headers,
on Ubuntu systems, is pretty straight forward
# apt-get install linux-headers-`uname-r`

>> someone please explain how to download  this and configure. I am very
>> new to this. I am using ubuntu 12.04
>



More information about the Kernelnewbies mailing list