Make sure you have updated version
$ sudo apt-get update
OR as root user enter:
# apt-get update
Search for kernel version (optional)
Type the following apt-cache command :
$ apt-cache search linux-headers-$(uname -r)
Install linux-header package under Debian or Ubuntu Linux
Type the following apt-get command:
$ sudo apt-get install linux-headers-$(uname -r)
OR as root user:
# apt-get install linux-headers-$(uname -r)