Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 6. Updating RHEL 8 content


With the YUM software management tool, you can check for available package updates and install them selectively. You can update individual packages, multiple packages, or all packages simultaneously. YUM automatically handles dependency resolution, ensuring that any required dependencies are also updated.

Tip

You can manage software updates in the RHEL web console, which provides a graphical interface for YUM.

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

    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
    • To update a single package, enter:

      # yum update <package_name>
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>
Important

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

Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de la documentation Red Hat

Legal Notice

Theme

© 2026 Red Hat
Retour au début