Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .