Src rpm is a source rpm, i.e. it includes the kernel source code. If you just want a stock kernel upgrade, download a normal (non-src) rpm file and install it as you would install any rpm package.
The other thing is, if you want to compile the new kernel from source yourself, perhaps add or remove stuff to/from it and just play around. Then you'll download the src rpm, install it as you would install a normal package, after which you should have a new directory under /usr/src (in this case I guess you'd have /usr/src/linux-2.6.9-11). Then you just cd into that directory, read the README file, do a make menuconfig (or oldconfig or xconfig or something instead, I just like the menuconfig), alter stuff if you like and then do make. That's how you get a kernel and the rest of the needed files (well that's how I got them).
If you need any additional packages, rpm should tell you about it right?
- Ordinary rpms are binary stuff, ready-to-go
- Src rpms include program source code, which is extracted to a certain place (/usr/src for example), which you can then compile by yourself
EDIT: by "install it as you would install a normal package" I mean that you either double-click the rpm file icon in a graphical environment that knows what to do about it (KDE or Gnome for example), or then just open a console, become root issuing su command or use sudo command in the beginning of the rpm-command line, and then issue the command rpm -iv kernel-2.6.9-11.EL.src.rpm (or some other .rpm package). If I didn't remember correctly and you get an error trying to use the rpm command, then read man rpm.
Last edited by b0uncer; 07-07-2006 at 02:49 AM.
|