LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Source instalation ? (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-source-instalation-307468/)

knights 03-29-2005 01:51 PM

Kernel Source instalation ?
 
hello Linux experts

i am new in linux redhat 9 kernal 2.4.20-8, trying to install my modem drivers, but it demand to install first kernal source but i dont know where is its exect path.

In GENOME, I just try to find on Add/remove -->linux packages (while CD-1 of linux on /mnt/cdrom)

Can any Linux expert tell me that HOW to install and WHERE i find this kernal source or the exect path of kernal source
thanks Experts ;)

knight

Linux~Powered 03-29-2005 02:04 PM

RH doesn't give you the kernel sources by default. They shoud be on one of your cd's though. Just mount your RH cd and intstall the RPM source file for your kernel.

knights 03-29-2005 03:22 PM

Hello

Thanks Linux~power,help me to find out the way to install in ur web link

BUT this is my Part-2 of my problem,Can you tell me where is that KERNAL SOURCE in LINUX CD-1 and what is the Name of the File wich i install (redhat 9 )

Linux~Powered 03-29-2005 07:57 PM

I don't know exactly where on the cd it'll be. It should be on the first cd though. I run Slackware and not RH, so things are done differently. Look for a /src folder on your cd. Inside the /src dir. look for something like kernel-source-2.6.5-i686.rpm, whatever kernel RH ships with now a days. To install that package just run...
rpm -Uvh kernel-source-2.4.29-i686.rpm I'm no RH expert here, but I think you should use the upgrade option vs. the install (-ivh) option.


All times are GMT -5. The time now is 08:31 AM.