Skip to content
TrySitePrice

RHEL/CentOS: yum Update All Packages Except the Linux Kernel

Best/Tutorial

You can update all packages on RHEL/CentOS using yum command, excluding the Linux kernel by using the following command:

sudo yum update --exclude=kernel\*

This will update all the packages except for the packages that start with "kernel".