LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel source in rpm format? (https://www.linuxquestions.org/questions/linux-software-2/kernel-source-in-rpm-format-199534/)

Enlightened 06-30-2004 12:33 PM

kernel source in rpm format?
 
Not having a folder in /usr/src and needing one to follow instructions per another installtions instructions, anywho...here is the breakdown.

I'm using the kernel from linuxant.com, the 8kstacks, 2.6.6-1.427.8kstacks to be exact. So I went to download the src file as well, and it is in an .rpm.zip format from here: http://www.linuxant.com/driverloader...ernel-i686.php

I then unzipped using file roller, whhich then gave em the rpm file. I then proceeded to the command:

rpm -Uvh kerenl.....

The issue is that when I head to usr/src/ there is still no folder containing the current running kernels "goods". What have I done wrong?

Running rpm -e kernel....leads to a XXXX package is not installed, so appraently it's not a "real" rpm.

Thanks In Advance.,.

czarherr 06-30-2004 01:29 PM

try with

rpm -ivh

eqxro 06-30-2004 02:14 PM

As I recall a .src.rpm is meant to compile the kernel on the go, as in not too much user interaction, just run the rpm with --rebuild option, and it starts compiling. In my case (MDK, RH, Fedora&co), I have an rpm kernel-source-2.6.7-2mdk.rpm. Notice it's not .src.rpm... After an install, it creates all the needed files in /usr/src (like the linux symlink to linux-kernel_ver), plus executes some post-install scriptlets.

Basically, U need to get the kernel-sourcecode-2.6.6-1.427.8kstacks.noarch.rpm.zip, unzip it and rpm -ivh kernel-sourcecode-2.6.6-1.427.8kstacks.noarch.rpm

This should do it.

Enlightened 06-30-2004 02:35 PM

Worked Dandy, TY


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