Results 1 to 4 of 4

Thread: Kernel Source Package

  1. #1
    Join Date
    Oct 2004
    Beans
    10

    Kernel Source Package

    First I will preface this by saying I love ubuntu. I'm just having one little question/problem.

    I have used apt to update my system and am running the most current kernel
    the problem is that I am looking to build a few things that require that I have the configured source for my running kernel. This is the hitch that I ran into ... the kernel source package is only listed at version 2.5.7 or something not the same version that the system is running. (2.6.x)

    Obviously I could build a new kernel from fresh source and have everything that I need but for what I am trying to do it's a bit extreme.

  2. #2
    Join Date
    Oct 2004
    Location
    Bloomington, IN, USA
    Beans
    150

    Re: Kernel Source Package

    Perhaps you can upgrade to Hoary, I'm pretty sure it would use a newer kernel.

  3. #3
    Join Date
    Oct 2004
    Location
    Wellington New Zealand
    Beans
    3

    Re: Kernel Source Package

    apt-get install linux-source-2.6.8.1

    or if you just need the headers:

    apt-get install linux-headers-2.6.8.1-386

    (just do a "uname -r" first to check your exact version)

  4. #4
    Join Date
    Apr 2007
    Beans
    6

    Re: Kernel Source Package

    in ubuntu 7.04 (feisty fawn) you should just enter this command
    sudo apt-get install linux-source
    or
    sudo aptitude install linux-source

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •