LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Where is the kernel source in 10.0 ? (https://www.linuxquestions.org/questions/mandriva-30/where-is-the-kernel-source-in-10-0-a-192853/)

Zordasesq 06-12-2004 09:40 PM

Where is the kernel source in 10.0 ?
 
I have a newbie question about Mandrake 10.0. I just installed Mandrake 10.0 and it works perfectly. During the install I installed EVERYTHING except the servers (FTP,SQL etc.). But when I go to /usr/src , I can't find the kernel source so that I may tweak it to my particular system. Did I miss something during the install ? Also, I did a Locate .config to try and find the kernel .config file but that came up empty as well. Any help would be greatly appreciated.


Z

heema 06-12-2004 09:50 PM

u can get it from

ftp://distro.ibiblio.org/pub/Linux/...3-7mdk.i586.rpm

or better just go to easy urpmi to setup ur urpmi so that u can install it from the software manager in the control center and alot more of softwares

http://urpmi.org/easyurpmi/index.php

and when u install the kernel-source you will find the .config in /usr/src/linux-2.6.3-7mdk

fancypiper 06-12-2004 09:58 PM

Find out what kernel you are running,
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# uname -r

Then, if you have your software manager (urpmi) configured correctly:
Code:

Sat Jun 12 10:55 PM root@uilleann ~ # urpmi kernel-source
Pick the correct one from the returned possibilities and
Code:

Sat Jun 12 10:55 PM root@uilleann ~ # urpmi kernel-source-<your running kernel version number>
# Mandrake links
Mandrake home page
Mandrake Users website
Software management configuration: Easy urpmi config for Mandrake
Software management: urpmi mini-HOWTO
Software management: All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

Zordasesq 06-12-2004 09:59 PM

Thanks very much. This is my first 10.0 official install. The last install of mandrake I did was 8.x and it put in the source tree automatically. I wounder why they changed it. I will also assume that the .config from that web site is the same one used to install my kernel.


Z


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