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.

Where can I get Ubuntu's source code? Actually I want It's kernel's code. I know I can get the kernel from kernel.org but as I found out that Ubuntu does some patching on the kernel I want to know what are those patches. And yes I know Ubuntu's kernel code can be found in an installed Ubuntu in the file system but thats just the code! I want specifically those patches separately and if any some comments or documents about them. Where can I get these things?

share|improve this question
add comment

1 Answer

Source Tarball Way

sudo apt-get install linux-source
mkdir ~/src
cd ~/src
tar xjvf /usr/src/linux-source-<version-number-here>.tar.bz2
cd linux-source-<version-number-here>

https://help.ubuntu.com/community/Kernel/Compile#AltBuildMethod

Git Clone Way

sudo apt-get install git-core
mkdir ~/src/linux
cd ~/src/linux
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-maverick.git

https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide?action=show&redirect=KernelTeam/KernelGitGuide

More information about Git.

share|improve this answer
add comment

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.