[rhn-users] Installing a source RPM

sean thomson s_thomson at yahoo.com
Tue Mar 28 15:09:18 UTC 2006


Hi Alex,

I had installed the kernel-devel package, but needed
an earlier version of the source from RedHat. The
rpmbuild worked. I'm not sure why RH distributes the
source packages like that.

thanks for your response!
Sean

--- Alex Lyashkov <shadow at psoft.net> wrote:

> cd /usr/src/redhat/SOURCES
> rpmbuild -bp kernel-2.6.spec
> cd /usr/src/redhat/BUILD
> and lock into sources.
> 
> but possible you want install kernel-devel package ?
> 
> ÷ ÷ÔÒ, 28.03.2006, × 01:41, sean thomson ÐÉÛÅÔ:
> > Howdy Folks,
> > 
> > Sorry if this has been asked before, but I've not
> > found anything on the web regarding this...
> > 
> > I'm trying to install one of the kernel SRPMS from
> my
> > RHEL 4 CDs and after I run 'rpm -hvi
> > kernel-2.6.9-5.EL.src.rpm' all I get is the
> original
> > .spec file in /usr/src/redhat/SPECS and a bevy
> patch
> > files in /usr/src/redhat/SOURCES.
> > 
> > I'm expecting to either get something in
> > /usr/src/redhat/BUILD or
> > /usr/src/kernels/2.6.9-5.EL-i686
> > 
> > Any help would be greatly appreciated
> > 
> > Sean Thomson
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com
> > 
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
> -- 
> FreeVPS Developers Team  http://www.freevps.com
> Positive Software        http://www.psoft.net
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the rhn-users mailing list