Can't install on Ubuntu 6.06

serpicolugnut

Junior Member
I'm having problems installing on Ubuntu 6.06. Here's the message:

Unable to find linux kernel source.


When I follow the instructions and run the command:

sudo apt-get install linux-headers-`uname –r`


I get the message:

uname: extra operand `–r'
Try `uname --help' for more information.
Reading package lists... Done
Building dependency tree... Done
Package linux-headers is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.


Any ideas?
 
You can just run uname -r and substitute the result in the apt-get line. For example, if you run uname -r and get 2.6.15-26-686, then type
sudo apt-get install linux-headers-2.6.15-26-686

Explanation: what the backward quotes `` do is pass the output of the command between them to the current command. In this case, it'll append the output from uname -r -which happens to be your exact linux kernel image version- to the sudo apt-get... line.
 
Back
Top