LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-15-2007, 11:00 AM   #1
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
installing kernel source rpm


I'm trying to install (as root) a kernel source package:

rpm -ivh kernel-2.6.18-8.1.15.el5.src.rpm

and keep getting the warning:

warning: group brewbuilder does not exist - using root

I do not think it is being installed:

[root@localhost kernel-src]# rpm -qi kernel-2.6.18-8.1.15.el5.src.rpm
package kernel-2.6.18-8.1.15.el5.src.rpm is not installed

What do I need to do to get it installed?

Also, can I have several different kernel source packages installed at the same time for testing purposes?

Thanks
 
Old 12-15-2007, 11:41 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
that is a typical message and that is fine. It will still install. Check your /boot/grub/menu.lst and it should be there. You can also check /usr/src and your new kernel should be there. You can install multiple kernels and test them out.
 
Old 12-15-2007, 12:54 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by Steve Riley View Post
I do not think it is being installed
Look in "/usr/src/redhat/SOURCES" to see if you have a ".tar.bz2" file and a bunch of ".patch" files.

Quote:
Originally Posted by Steve Riley View Post
Also, can I have several different kernel source packages installed at the same time for testing purposes?
You should be able to manage it. I do it all the time, but I do not use source RPMs. I do not know if the source RPMs will stomp on each other.
 
Old 12-15-2007, 01:02 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
First you can not use the .rpm extension when checking to see if it is installed. Once it is installed it is no longer and rpm file.
rpm -qi kernel-2.6.18-8.1.15.el5

Now if you want the kernel source then you need to install the rpm like kernel-devel-2.6.18-8.1.15.el5.rpm

This places the kernel source in /usr/src/kernels/2.6.18-8.1.15.el5

When installing src.rpm this is common output. Don't worry it changes ownership to root or as to a user if you have the needed rpms to build from your home directory.

Brian
 
  


Reply



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 / openSUSE 5 12-02-2004 12:48 PM
Problem installing Mandrake kernel source rpm Gibson Linux - Newbie 4 07-30-2004 01:42 PM
installing source rpm Deer Linux - Newbie 1 09-25-2003 12:30 PM
Installing Kernel Source RPM eats85 Linux - Newbie 3 08-27-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration