Where do I get the Ubuntu code
Thilo Six
T.Six at gmx.de
Mon Sep 18 11:14:30 UTC 2006
Vincent Trouilliez wrote the following on 18.09.2006 12:55:
> Saurabh Moghe <moghe.saurabh at yahoo.com> wrote:
>> Hi,
>> I wanted Ubuntu kernel source code. how can I download and it.
>> I am learning Kernel programming and want to write some basic
>> kernel level modules.
>
>
> Just open a terminal and type this:
>
> $ apt-get source linux-image-`uname -r`
>
> this will download the source code (around 60MB) of the currently
> running kernel, in the current directory.
>
> Vince
sorry Vince
I have to correct you. ;)
e.g.
# aptitude search linux-image-`uname -r`
i A | 2.6.15-26. | linux-image-2.6.15-26-k7 | Linux kernel image for
version 2.6.15 on AMD
but what op wants is probably more likely:
# aptitude show linux-source
Package: linux-source
New: yes
State: not installed
Version: 2.6.15.24
Priority: optional
Section: devel
Maintainer: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>
Uncompressed Size: 53.2k
Depends: linux-source-2.6.15
Provided by: linux-source-2.6.15, linux-source-2.6.15
Description: Linux kernel source with Ubuntu patches
This package will always depend on the latest Linux kernel source code
available. The Ubuntu patches have been applied.
bye Thilo
--
i am on Ubuntu 2.6 KDE
- some friend of mine
gpg key: Ox4A411E09
More information about the ubuntu-users
mailing list