LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-14-2010, 06:58 PM   #1
archieval
Member
 
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?

Regards,
archieval
 
Old 07-14-2010, 07:09 PM   #2
rch
Member
 
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, 06:37 AM   #3
archieval
Member
 
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!
 
  


Reply


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 08:47 AM
where is the source codes for the open source drivers for each linux distros centguy Linux - Software 9 01-02-2009 11:14 AM
source codes for c compiler in linux dningale Linux - Software 3 09-22-2008 04:33 AM
device location codes docaia Linux - Hardware 1 02-28-2008 08:05 PM
Linux Command Source Codes GodSendDeath Slackware 1 03-12-2004 03:12 AM


All times are GMT -5. The time now is 05:28 AM.

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