LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get kernel source. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-kernel-source-430133/)

Portlyman 03-30-2006 05:45 PM

How to get kernel source.
 
I'm using the Mandriva One install, with kernel: 2.6.12-17mdk-i586-up-1GB

How do I find out what I need to type in urpmi to get the appropriate kernel source?

Michael_aust 03-30-2006 06:31 PM

the package is just called kernel-source and then there will be multiple version, choose one that goes up to your kernel, for example there could be a 2.6.8 - 2.6.10 one and a 2.6.12-14 2.6.12-17, so the last one would cover you.

J.W. 03-31-2006 01:57 AM

If you actually are interested in the kernel source code, you can always go to www.kernel.org

vmlinuz.gz 03-31-2006 02:25 AM

Quote:

Originally Posted by J.W.
If you actually are interested in the kernel source code, you can always go to www.kernel.org

That's what I recommend, too. It has the best selection of versions, and it's the official source.

reddazz 03-31-2006 04:47 AM

Just do
Code:

#urpmi kernel-source
A list of available packages will be shown on your screen, just enter the number that corresponds to the kernel you are running.


All times are GMT -5. The time now is 06:21 AM.