how install linux-headers

1 install build-essential(optional)

sudo apt-get install build-essential

2 install linux-headers

sudo apt-get update
sudo apt-get install

Linux

-headers-$(uname -r)