I am hoping to develop the linux kernel, which version should I modify

Jonathan Neuschäfer j.neuschaefer at gmx.net
Sun Oct 23 20:24:50 EDT 2011


On Mon, Oct 24, 2011 at 08:08:31AM +0800, Jimmy Pan wrote:
> There is a 3.0 in my hard disk, which I downloaded around Aug 10. There is
> 3.0.4 and 3.1-rc4 code. Which version should I use. Since I am a newbie, I
> think I don't need to use the newest version. Can I use my 3.0 version, or
> should I download a new one?

A lot of people use Git[0] to download and manage their kernel source
code, but you can also use the latest mainline (2.6.39, 3.0, ...) or
-rc release, if you like.

To get the kernel source via git, run this (it'll take a while, because
it downloads around 200 megabytes):

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

> Maybe I can read the kernel source on the web, is there a way to use the
> source on web to make patches?

You can read the linux source code on the web[1,2], but you sure need
it on your own computer, if you're going to change things.

> Thanks in advance.

Well, thanks for this polite and informed post. :-)

[0] http://git-scm.com/
[1] http://lxr.linux.no/linux
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree


Greetings,
	Jonathan Neuschäfer



More information about the Kernelnewbies mailing list