Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-30-2006, 05:45 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
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?
Old 03-30-2006, 06:31 PM   #2
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
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.
Old 03-31-2006, 01:57 AM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
If you actually are interested in the kernel source code, you can always go to
Old 03-31-2006, 02:25 AM   #4
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
Originally Posted by J.W.
If you actually are interested in the kernel source code, you can always go to
That's what I recommend, too. It has the best selection of versions, and it's the official source.
Old 03-31-2006, 04:47 AM   #5
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Just do
#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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 02:56 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 01:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 11:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 09:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration