Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-14-2010, 07:58 PM   #1
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
Where is the location of the linux source codes?

Hello world,

I am used to browsing /usr/src/ folders in the past but in recent distro that I have installed, the source codes are no longer in that folder, all I can see are makefiles ang Kconfig. The module folders are still there like drivers, kernel, fs, etc, but they do not contain anything other than makefiles. So where are the source codes located now? And why are the source files relocated somewhere else?

Old 07-14-2010, 08:09 PM   #2
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
The location is correct. You have not installed the kernel-source rpm or deb package.
Old 07-15-2010, 07:37 AM   #3
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Original Poster
Rep: Reputation: 41
Ah I see. So I need to install that one. Thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Source codes of Basic Linux commands MaKsaw Linux - General 3 07-24-2009 09:47 AM
where is the source codes for the open source drivers for each linux distros centguy Linux - Software 9 01-02-2009 12:14 PM
source codes for c compiler in linux dningale Linux - Software 3 09-22-2008 05:33 AM
device location codes docaia Linux - Hardware 1 02-28-2008 09:05 PM
Linux Command Source Codes GodSendDeath Slackware 1 03-12-2004 04:12 AM

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration