update kernel in RHEL 3 and 5


While updating kernel of RHEL 3 and RHEL 5, what commands do we use ?

RHEL 3 - up2date kernel

RHEL 5 - yum update kernel

Is it yum install kernel or yum update ? I just wanted to confirm it so as to ensure that previous kernel remains there ....
Who is Participating?
CrunchedConnect With a Mentor Commented:
Yep, yum update will do that.  I would recommend doing a yum install kernel though - this will install the latest kernel, but leave the existing kernel available for use.  So if the new kernel causes issues, you still have the option to boot to the older kernel (that you knew worked with your config).  To boot to the older kernel, just select it from your GRUB boot menu.
Khushal Singh NarookaCommented:

For RHEL 3.0 use following.

up2date kernel

For RHEL 5.0 use following.

yum install kernel  (This will install latest kernel without replacing the old)

Else you can download the kernel and install using rpm to keep existing

rpm -ivh kernel.x.rpm


I would go with using up2date or yum as mentioned above and not with using only the rpm command as the rpm cmd does not resolve dependencies directly.
its_ns_04Author Commented:
ok say if i wish to update kernel and other packages, in that case,  what do i run  ?

is it simply going to be yum update ?

or something else ??
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.