Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This question already has an answer here:

I heard that Ubuntu is open source and that all its source code is available, but I have never seen its code. I want to start learning about Ubuntu's kernel and its complete working.Please suggest me some reading from where I can start.

share|improve this question

marked as duplicate by Uri Herrera, fossfreedom Feb 7 '13 at 9:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You can download the source code of ubuntu kernel, using

sudo apt-get install linux-source

A bzip file will be downloaded at /usr/src/ containing the source code.

However, ubuntu codes are taken from the orginal linux kernel which is available for download at

To understand the kernel, you must start with basics of operating system.How kernel works, a general idea about subsystem/modules/drivers. Also needed very good knowledge C (specially pointers). Otherwise jumping into code of linux kernel won't help at all.

share|improve this answer
+1 for adding a reference to – don.joey Feb 7 '13 at 6:49

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