Now, the next thing that we need to do is to install Linux kernel headers.
So Linux kernel header file is required to compile kernel code that we shall be going to write in this
course.
So on your machine, just run the command u name hyphen r it will show you the kernel version that your
machine is running now.
Now go into the directory slash user slash source and run the command LS minus L.
It will show you the Linux headers which is currently installed on your machine.
So note that you must have a Linux header installed whose 500 slash 36 slash generic must match exactly
with the output of the command uname hyphen.
R right.
So if these Linux headers are present on your machine, then you don't need to do anything else.
If it is not present, then just run the command sudo apt update followed by sudo apt install linux
header hyphen dollar and within the bracket you can mention your name.
Hyphen r.
So this command, we're going to install the required Linux headers, which is actually compatible with
the kernel version that you are running on your machine.
So fairly simple.
Now we will going to start with writing our first Hello World Linux kernel program.