Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-30-2004, 01:33 PM   #1
Registered: Jun 2003
Location: US of A
Distribution: FC2
Posts: 40

Rep: Reputation: 15
kernel source in rpm format?

Not having a folder in /usr/src and needing one to follow instructions per another installtions instructions, is the breakdown.

I'm using the kernel from, 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 format from here:

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.,.
Old 06-30-2004, 02:29 PM   #2
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
try with

rpm -ivh
Old 06-30-2004, 03:14 PM   #3
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30

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, unzip it and rpm -ivh kernel-sourcecode-2.6.6-1.427.8kstacks.noarch.rpm

This should do it.
Old 06-30-2004, 03:35 PM   #4
Registered: Jun 2003
Location: US of A
Distribution: FC2
Posts: 40

Original Poster
Rep: Reputation: 15
Worked Dandy, TY


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
Installing kernel source rpm equus Fedora 4 02-08-2005 03:51 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus SUSE / openSUSE 5 12-02-2004 01:48 PM
which kernel source format? class_struggle Linux - Distributions 1 08-24-2004 09:00 AM
kernel-source rpm itywygms Linux - Newbie 1 08-21-2004 01:51 PM
Kernel source RPM carlosjjang Linux - Software 1 05-06-2004 11:11 AM

All times are GMT -5. The time now is 05:46 PM.

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