Chapter 6. Updating RHEL 8 content


With YUM, you can check if your system has any pending updates. You can list packages that need updating and choose to update a single package, multiple packages, or all packages at once. If any of the packages you choose to update have dependencies, these dependencies are updated as well.

6.1. Checking for updates

To identify which packages installed on your system have available updates, you can list them.

Procedure

  • Check the available updates for installed packages:

    # yum check-update
    Copy to Clipboard Toggle word wrap

    The output returns the list of packages and their dependencies that have an update available.

6.2. Updating packages

You can use YUM to update a single package or all packages and their dependencies at once.

Important

When applying updates to kernel, YUM always installs a new kernel regardless of whether you are using the yum update or yum install command. Note that this only applies to packages identified by using the installonlypkgs YUM configuration option. Such packages include, for example, the kernel, kernel-core, and kernel-modules packages.

  • Depending on your scenario, use one of the following options to apply updates:

    • To update all packages and their dependencies, enter:

      # yum update
      Copy to Clipboard Toggle word wrap
    • To update a single package, enter:

      # yum update <package_name>
      Copy to Clipboard Toggle word wrap
Important

If you upgraded the GRUB boot loader packages on a BIOS or IBM Power system, reinstall GRUB. See Reinstalling GRUB.

6.3. Updating package groups

Package groups bundle multiple packages, and you can use package groups to update all packages assigned to a group in a single step.

Procedure

  • Update packages from a specific package group:

    # yum group update <group_name>
    Copy to Clipboard Toggle word wrap
Important

If you upgraded the GRUB boot loader packages on a BIOS or IBM Power system, reinstall GRUB. See Reinstalling GRUB.

Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat