It's a headless ubuntu server in virtualbox, about a year old, no idea about the version, nor how to find out.
How do I install the linux-headers? is it a package like any other? (sudo apt-get install linux-headers)?
M'kay, sudo apt-get install linux-headers has spat out a ton of alternative names:
Now what?
And for the curious little man inside me: how do you know what package I need? How does one go from "linux/linkage.h" to "linux-headers"?
How do I install the linux-headers? is it a package like any other? (sudo apt-get install linux-headers)?
M'kay, sudo apt-get install linux-headers has spat out a ton of alternative names:
Code:
linux-headers-2.6.31-11-rt 2.6.31-11.154
...
linux-headers-2.6.32-22-generic-pae 2.6.32-22.36
linux-headers-2.6.32-22-generic 2.6.32-22.36
linux-headers-2.6.32-22-386 2.6.32-22.36
linux-headers-2.6.32-22 2.6.32-22.36
linux-headers-2.6.31-10-rt 2.6.31-10.153
linux-headers-2.6.32-21-generic-pae 2.6.32-21.32
linux-headers-2.6.32-21-generic 2.6.32-21.32
linux-headers-2.6.32-21-386 2.6.32-21.32
linux-headers-2.6.32-21 2.6.32-21.32
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
And for the curious little man inside me: how do you know what package I need? How does one go from "linux/linkage.h" to "linux-headers"?