I'd normally do:
Code:
sudo apt-get update
sudo apt-get install build-essential linux-headers-generic
Please note, that this will only work, if you really installed linux-image-generic and have booted this kernel.
Additionally I'd suggest people from time to time do a dist upgrade to pull in bugfixes
Code:
sudo apt-get update
sudo apt-get dist-upgrade

Originally Posted by
hoboy
Thanks for your time how to I install
build-essential linux-headers-generic ?