LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-30-2004, 12:33 PM   #1
Enlightened
Member
 
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, 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.,.
 
Old 06-30-2004, 01:29 PM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 13
Posts: 288

Rep: Reputation: 32
try with

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

Rep: Reputation: 30
Talking

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.
 
Old 06-30-2004, 02:35 PM   #4
Enlightened
Member
 
Registered: Jun 2003
Location: US of A
Distribution: FC2
Posts: 40

Original Poster
Rep: Reputation: 15
Worked Dandy, TY
 
  


Reply


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 02:51 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 12:48 PM
which kernel source format? class_struggle Linux - Distributions 1 08-24-2004 08:00 AM
kernel-source rpm itywygms Linux - Newbie 1 08-21-2004 12:51 PM
Kernel source RPM carlosjjang Linux - Software 1 05-06-2004 10:11 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration