Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 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 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
@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
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


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.