kernel source code — the easier way to get it with git.

2010-02-04 186 words 1 min read

The simplest way to get the kernel code is :

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

If you want to get the other branches then head over to <a href="http://git.kernel.org">&#8221;Kernel Git Page&#8221;

This will get the Linux kernel tree. As of today , 12 days ago, the tree was tagged to 2.6.31.
Now thats cool, but do you want it to be simpler and do not want to know the git command get to what you want to do that is learn linux kernel then here\’s what you can do :
sudo yum install teamgit
Here is the interface that you will get to add new repo:

\"get_dialog\"

<div>
  Once you have added the repo, then you can see all the tags and files. Here are the screenshots:
</div>

<div>
  <a href=\"http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/teamgit_files.jpeg\"><img class=\"alignnone size-medium wp-image-1200\" title=\"teamgit_files\" src=\"http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/teamgit_files-300x177.jpg\" alt=\"teamgit_files\" width=\"300\" height=\"177\" /></a>
</div>

<div>
  <p>
    <a href=\"http://blog.amit-agarwal.co.in/wp-content/uploads/2009/09/teamgit_tags.jpeg\"><img class=\"size-medium wp-image-1201\" title=\"teamgit_tags\" src=\"http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/teamgit_tags-300x177.jpg\" alt=\"teamgit_tags\" width=\"300\" height=\"177\" /></a>
  </p>
  
  <p>
    Other advanced options are available which are quite easy to use, so enjoy.
  </p>
</div><div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">gitThis clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git</div> 

<p>
</p>

author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it