which packages to install to compile kernel modules?

Dick Dowdell dick.dowdell at gmail.com
Mon Jun 14 17:41:45 UTC 2010


On Mon, Jun 14, 2010 at 1:26 PM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:

>
>  i'm still feeling my way around ubuntu so what is/are the package(s)
> i need to have installed in order to compile a simple kernel module?
> in other words, what package(s) will give me the essential part of the
> kernel source tree corresponding to the current kernel against which i
> can compile that module?
>
>  a quick perusal suggests the package
> linux-headers-2.6.32-22-generic, which provides the content under the
> corresponding /usr/src directory.  is that it?
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>        Top-notch, inexpensive online Linux/OSS/kernel courses:
>                        http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

You might try "sudo apt-get install build-essential".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100614/cd9d4fd7/attachment.html>


More information about the ubuntu-users mailing list