LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2003, 12:10 AM   #1
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Rep: Reputation: 30
How to install kernel source ?


Howdy !

I've Mandrake 9.0, installed from the ISO images. I now need the kernel-source to compile some programs.

I've the 3rd CD with me. But uname -a shows : 2.4.19-24mdk, but where as the 3rd CD has 2.4.19-16mdk, for kernel-source.

Is this number diff. a big deal. What is that number, anyway ?

thanks,
shankar.
 
Old 04-02-2003, 01:17 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It's the release. When they update their kernel, or patch it, they slap a new release number on it. It's not a different kernel, but rather has different patches applied, or is setup slightly different. For the kernel source you want the kernel that is actually running on your system's source, however you may be able to get away with the 2.4.19-16mdk and you'll only know if you try. Otherwise, just setup a mirror as a download point and get the kernel source from there (make sure it's the same version you are running). You can use urpmi to install it:
urpmi kernel



Cool
 
Old 04-02-2003, 01:19 AM   #3
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
Hello,
You can install the older kernel-sources, it's just that when you run Mandrake Update it will download the newer one. I suggest just going to http://www.rpmfind.net/ and downloading the latest kernel-source for your distribution release.
Bye
 
Old 04-02-2003, 11:54 PM   #4
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks guys. I did actually find the rpm for 2.4.19-24mdk in http://www2.linuxforum.net/RPM/Mandrake_Linux.html.

But I beleive that the diff. between i586 & i686 is not much of a big deal as Mandrake has given the source for "anything > 586". So I assume that its safe to install this source.

Is that correct ?

thanks,
S.
 
  


Reply



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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
kernel source install Odin5578 SUSE / openSUSE 1 11-04-2004 02:29 AM
slackware kernel source install (kernel 2.6.6) ? LinuxOG Slackware 22 06-06-2004 04:34 PM
How to install kernel source ? subnova Linux - Hardware 3 04-09-2003 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 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