Can't install on Ubuntu 6.06

Discussion in 'Parallels Workstation for Windows and Linux' started by serpicolugnut, Sep 4, 2006.

  1. serpicolugnut

    serpicolugnut Junior Member

    Messages:
    12
    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?
     
  2. constant

    constant Forum Maven

    Messages:
    1,010
    .
    Post on the Ubuntu forum about installing kernel source.
    .
     
  3. David Corrales

    David Corrales Hunter

    Messages:
    189
    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.
     

Share This Page