Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

1 Answer 1

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.

share|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
    
@Asad Jibran Ahmed i want to learn the source code . –  zjm1126 Apr 26 '11 at 5:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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