5.2. Updating packages
You can use DNF to update a single package, a package group, or all packages and their dependencies at once.
If any of the packages you want to update have dependencies, DNF updates these dependencies as well.
When applying updates to the kernel, dnf always installs a new kernel regardless of whether you are using the dnf upgrade or dnf install command. Note that this only applies to packages identified by using the installonlypkgs DNF configuration option. Such packages include the kernel, kernel-core, and kernel-modules packages.
If you upgraded the GRUB boot loader packages on a BIOS or IBM Power system, reinstall GRUB. See Reinstalling GRUB.
Procedure
Depending on your scenario, use one of the following options to apply updates:
To update all packages and their dependencies, enter:
# dnf upgradeTo update a single package, enter:
# dnf upgrade <package_name>To update packages only from a specific package group, enter:
# dnf group upgrade <group_name>