KernelNewbies:

Developing on a native Linux platform

These instructions assume you're running a varient of Ubuntu (like 12.04 LTS).

Install some packages

First, open a terminal. Click the ubuntu logo at the top left corner and type "terminal". Click the terminal screen icon.

Next, run this command:

sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags

Setup your Linux kernel code repository

Once that finishes, run these two commands:

mkdir -p git/kernels
cd git/kernels

Then use the revision control system called [http://git-scm.com/ git] to clone Linus Torvalds' repository:

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

That's going to take a while. Why don't you read up on [http://lwn.net/Kernel/LDD3/ Linux Device Drivers] in the meantime?

KernelNewbies: OutreachyfirstpatchAlt (last edited 2013-04-27 13:49:54 by SarahSharp)