5

I want to compile a Kernel module.

What is the minimal set of packages that I need to download to succeed?

Cheers,

Stefan

Phi
  • 173

2 Answers2

8

You need build-essential and kernel headers.

sudo apt-get install linux-headers-$(uname -r) build-essential

karthick87
  • 84,513
0

At a minimum, you will need gcc and the kernel headers (linux-libc-dev).

Zanna
  • 72,312
binW
  • 13,194