I am trying to find where the source code for Ubuntu is located. I looked on google and found the answer. Apparently it is in the file /usr/src/linux. I have looked for this file but I cannot find it.

Where can I find the Ubuntu source code?

link|improve this question

50% accept rate
feedback

migrated from stackoverflow.com Apr 26 '11 at 2:15

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 6 down vote accepted

It's not installed by default in Ubuntu. Read the instructions on https://help.ubuntu.com/community/Kernel/Compile to find out how to get the source.

link|improve this answer
if it not installed , how the ubuntu run ?? – zjm1126 Apr 26 '11 at 1:38
3  
@zjm1126: There's a difference b/w source code and the compiled binary file that runs. Why do you want the source code? – Asad Jibran Ahmed Apr 26 '11 at 1:44
3  
You run many pieces of software without having the source code on your computer, phone, car, ... Why should Ubuntu be any different? – Johnsyweb Apr 26 '11 at 1:46
2  
Hey guys I opened my fridge to find the source code but I couldn't see it. if it not installed, how the fridge run ?? – ta.speot.is Apr 26 '11 at 2:29
@Asad Jibran Ahmed i want to learn the source code . – zjm1126 Apr 26 '11 at 5:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.