You can just open up the Software Center or Synaptic and make sure the package "linux-headers-generic" is installed. That package is marked to depend on the headers for the latest available kernel version, so it will pull in another package or two for your particular kernel version.
Edit:
You can also just open a command line and run:
sudo apt-get install linux-headers-generic
If it's already installed then it'll say so, and if not it'll ask you to verify you want to install the package.
Kind of late, but I found this question with no interesting answer so here is the real way to do it so you know WITHOUT installing, which I think was what you wanted to begin with :
apt list linux-headers*
Output is going to be a linux-headers list with some with [installed] specified, such as this :
The linux headers are installed by default (See the 14.04 manifest file for example)
The
linux-headers-generic
package will always depend on the latest generic kernel headers available.To check the current version, open a Terminal and type:
You can just open up the Software Center or Synaptic and make sure the package "linux-headers-generic" is installed. That package is marked to depend on the headers for the latest available kernel version, so it will pull in another package or two for your particular kernel version.
Edit: You can also just open a command line and run:
If it's already installed then it'll say so, and if not it'll ask you to verify you want to install the package.
Kind of late, but I found this question with no interesting answer so here is the real way to do it so you know WITHOUT installing, which I think was what you wanted to begin with :
Output is going to be a linux-headers list with some with [installed] specified, such as this :