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?


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>


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


More information about Git.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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