Looking for Linux Kernel source

Robert P. J. Day rpjday at crashcourse.ca
Wed Sep 14 07:57:05 UTC 2011

On Wed, 14 Sep 2011, Alan Gauld wrote:

> On 14/09/11 08:33, Alan Pope wrote:
> > The source package in the repo _contains_ a tarball you could put on a
> > stick.
> >
> > apt-get source linux-image-`uname -r`
> >
> > (the uname -r will ensure it gets the kernel you're currently running)
> >
> > That will download the source tarball and then unpack it in the
> > current directory.
> Thanks.
> I just used apt-get in a folder in my download area. I'll copy it to a stick
> later, once I'm sure how much of it I actually need.
> It may only be the kernel subfolder itself.

  if you have the disk space, i would strongly recommend cloning the
git repository since being able to poke around in the log and see the
history and rationale of changes can be terrifically useful.



Robert P. J. Day                                 Ottawa, Ontario, CANADA

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

More information about the ubuntu-users mailing list