update kernel in RHEL 3 and 5

Posted on 2009-12-17
Last Modified: 2013-12-06

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 ....
Question by:its_ns_04
    LVL 1

    Expert Comment

    by:Khushal Singh Narooka

    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


    LVL 7

    Expert Comment

    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.
    LVL 1

    Author Comment

    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 ??
    LVL 5

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now