Monday, April 13, 2009

Update Linux Kernel Using Yum

  1. Update kernel and kernel module packages

    If you don't have kernel module installed, you only have to update the kernel, type this command from terminal:
    su -c 'yum update kernel'
    If you have kernel module installed, you have to update them too. For example, you have kmod-nvidia and kmod-wl, type this command from terminal:
    su -c 'yum update kernel kmod-nvidia kmod-wl'
  2. Reboot the computer

  3. Booting with the new kernel

  4. View version number of the old kernel

    Type this command from terminal:
    yum list kernel --noplugins
    Example:
    [hafni@localhost ~]# yum list kernel --noplugins
    Installed Packages
    kernel.x86_64                 2.6.27.19-170.2.35.fc10                  installed
    kernel.x86_64                 2.6.27.21-170.2.56.fc10                  installed
  5. Remove the old kernel

    Type this command from terminal:
    yum remove kernel-VERSION
    Example:
    [hafni@localhost ~]$ su -c 'yum remove kernel-2.6.27.19-170.2.35.fc10'

No comments:

Post a Comment