Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Friends, Please help me find the location of the kernel source tree in CentOS. when I cd / and type 'ls' I see some system folders but could not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    7

    Location of kernel source tree ?


    Hi Friends,

    Please help me find the location of the kernel source tree in CentOS.

    when I cd / and type 'ls' I see some system folders but could not see the folders like 'arch' , 'block' and many more.
    please see the attachment of what output i see.


    Thanks and regards,
    Saurabh.
    Attached Images Attached Images

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    See this link, it should tell you all you need to know.
    HowTos/I need the Kernel Source - CentOS Wiki
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    In addition to the link provided, most distros (but not all) keep kernel code somewhere in the /usr/src/linux directory.
    Last edited by jayd512; 11-21-2011 at 06:06 AM. Reason: clarification
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open
    $spacer_close

Posting Permissions

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