Installing the Kernel Headers in Kali Linux is sometimes necessary to install certain tools or software (i.e. VMware Tools). Follow this tutorial to learn how to do it. If you’re having trouble following the text tutorial, or if you wish to see a video of this process, please check out our video of this process . Step One: First, we need to make sure that the official Kali Linux repositories are added to the “sources.list” file. Open a Terminal and type leafpad /etc/apt/sources.list and press Enter. Step Two: In the file that opens, look over it. If it contains all the lines listed below, then you can close it and continue on to Step Three. However, if it is empty or contains text different than the text listed below, delete everything inside it and replace it with the below text: deb http://http.kali.org/kali kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free deb-src http://http....