How to install Kernel Headers in Kali Linux


In this post i'm gonna show you how to install  Kernel Headers in Kali Linux. This is important thing, to have installed Linux kernel-headers in your system. Because some kind of applications need to use kernel headers, such as VMware tools. So let's do that.

1. First thing we need to do is check for update by opening terminal and typing in sudo apt-get update and hit enter.
2. Now check for currently installed kernel, type in terminal uname -r and again hit enter.
3. And at last to install kernel headers type in terminal sudo apt-get install linux-headers-$(uname -r) and hit enter.
Now your done, you already have installed kernel headers in your operating system.

2 comments :

  1. Hi... i tried the above procedure bt it shows..Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-3.14-kali1-686-pae
    E: Couldn't find any package by regex 'linux-headers-3.14-kali1-686-pae'

    ReplyDelete
  2. sudo modprobe 8188eu ERROR: could not insert '8188eu': Exec format error

    ReplyDelete