Monday, July 31, 2006

FEDORA 5 - Kernel Source Installation

1. On your system shell type uname -r
this will give you kernel version (example kernel-2.6.15-1.2054_FC5)
2. Download this version from fedora download site.
3. store it in /usr/src
4. go to /usr/src
type -> rpm -ivh Kernel-filename.src.rpm
type -> rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec

your source get installed in /usr/src/redhat/BUILD

that is directory kernel-2.6.15 for example ,,,, for version 2.6.15.

*** In any case you get rpmbuild command not found something ,i mean, rpmbuild binary missing! I am not much sure about this but i got the same and then i installed again linux and then do everything from scratch.***

But rather it would be gr8 to solve the problem , instead of installing everything........ i did because i was in hurry ! .........
if neone of u find it let me know.

No comments: