Project

General

Profile

Feature #706

Add Linux Headers to Kali 2.0

Added by Daniel Curtis about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Intrusion Detection/Prevention
Target version:
Start date:
12/03/2015
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

I recently tried to install the linux-headers package for Kali 2 in a VM, however I could not find the linux-headers package anywhere. It turns out that the default Kali repository does not include the headers package, and in order to install it the Kali archive repository.

  • Add the kali-archive apt list:
    echo 'deb http://http.kali.org/kali sana main non-free contrib' >> /etc/apt/sources.list.d/kali-archive.list
    echo 'deb-src http://http.kali.org/kali sana main non-free contrib' >> /etc/apt/sources.list.d/kali-archive.list
    
  • Update the repository cache and upgrade the system:
    apt-get update && apt-get upgrade
    
  • Install the headers package:
    apt-get install linux-headers-$(uname -r)
    

Resources

Also available in: Atom PDF