LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-04-2004, 04:21 PM   #1
i_like_deer
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake
Posts: 5

Rep: Reputation: 0
How to install kernal source for Mandrake 10?


QUESTION

how do i install the kernal source code? i couldn't figure how to find it. i'm running mandrake 10. Could someone help?

thanks.
 
Old 08-04-2004, 04:57 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
urpmi kernel-source-2.4.25

urpmi kernel-source-2.6.3

(i think)


here's the rpms:

ftp://ftp.isu.edu.tw/pub/Linux/Mandr...-2mdk.i586.rpm

ftp://ftp.isu.edu.tw/pub/Linux/Mandr...-7mdk.i586.rpm


Last edited by win32sux; 08-04-2004 at 05:01 PM.
 
Old 08-05-2004, 09:41 AM   #3
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
They're on the cds too.
 
Old 08-05-2004, 10:39 AM   #4
i_like_deer
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake
Posts: 5

Original Poster
Rep: Reputation: 0
thanks win32sux--i'll try that.


Quote:
Originally posted by vectordrake
They're on the cds too.
i think that's right but i couldn't figure out how to get them off....
 
Old 08-05-2004, 12:40 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
fire up rpmdrake (or mcc) and put in the search box "kernel" and you can browse for it. Or, simply "urpmi kernel-source" should fetch the sources relavent to your current kernel.
 
Old 08-05-2004, 01:47 PM   #6
i_like_deer
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake
Posts: 5

Original Poster
Rep: Reputation: 0
thanks!!
 
Old 08-05-2004, 05:26 PM   #7
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
you could also do this command
urpmq kernel

this searchs for packages named kernel..... etc

then urpmi theoneyouwant

and its sweet
 
Old 08-06-2004, 12:54 PM   #8
i_like_deer
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake
Posts: 5

Original Poster
Rep: Reputation: 0
it didn't work

i did urpmi kernel and it listed some stuff and said 'one of these is needed. pick one' and i picked one & it said 'everything already installed'

so then i did urpmi kernel-source and it said 'no package named kernel-source'
so i tried urpmi kernel-source-2.6.3 & got 'no package named kernel-source-2.6.3'
i also tried it with kernel-source-2.4.25, same thing.

i also tried doing ls -alc in /usr/src to see if it was already there & it's not...

i have no idea what to do. please help.
 
Old 08-07-2004, 12:09 AM   #9
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
did you try urpmq kernel
 
Old 08-07-2004, 12:17 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
If you can download or locate the rpms for the particular kernel, you can use the urpmi command, and use autocompletion to give the full file name. If the package you are trying to install isn't in the hdlist or synthesis.hdlist, then you need to include the full file name of the package you are trying to install. CDing to the place you downloaded the file and using auto-completion is the easiest way.
 
Old 08-08-2004, 12:10 PM   #11
i_like_deer
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake
Posts: 5

Original Poster
Rep: Reputation: 0
i tried urpmq kernel and it gave me all the stuff i already installed--none of it called kernel source. i also tried urpmq source and it just gave me sourceview stuff.

these packages that i'm installing are coming from the installation cd's so i hope that that would mean i don't have to download anything, right? maybe it did everything for me & i don't realize it. but if that were true, then why can't i find my 'path to linux'?
 
Old 08-08-2004, 01:26 PM   #12
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Its on disk 3. If you don't seem to have it in your urpmi list, your sources aren't configured properly. You should rebuild them (or if you have a fast connection, get one set up from ftp sites with easyurpmi <----google it).

If you want them, mount your disk 3 and "rpm -i" it.
 
  


Reply


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
how to install kernal-source code? jmg1894 Linux - Software 8 06-07-2004 06:06 PM
Install linux Kernal-Source in suse 9.0 TheLoneGoldFish Linux - Newbie 5 04-28-2004 12:30 PM
how to install kernal source reshma Linux - Newbie 3 01-15-2004 07:36 PM
Will updating kernal source screw up my nvidia install? EnVoy Mandriva 3 12-23-2003 05:06 PM
Mandrake 9.2 Kernal source code Penguin666 Linux - General 9 11-19-2003 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:13 AM.

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