Find the answer to your Linux question:
Results 1 to 5 of 5
I have been trying to install the source for the kernel. I have tried <tt>apt-get install kernel-source-2.6.18</tt> but it does not work (package not found). Where is the package, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    20

    Kernel source install


    I have been trying to install the source for the kernel. I have tried
    <tt>apt-get install kernel-source-2.6.18</tt>
    but it does not work (package not found). Where is the package, and how do I get it?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Have you tried just using kernel-source without the version number e.g.
    Code:
    apt-get install kernel-source

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    if you want a newer kernel i'd recommend just downloading it from The Linux Kernel Archives instead of using the apt repositories, that is what I do anyways

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    20
    I don't need a newer kernel, just the source code for the one I have (I'm trying to install a driver for my wireless card, and it needs the source.)

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    run this it will do what you need
    Code:
    su
    apt-get install build-essential module-assistant
    m-a prepare
    this should download everything you need

Posting Permissions

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