Abstract
| Goal |
Identify new package and system management tools and utilities. |
| Objectives |
|
| Sections |
|
|
Lab |
Provisioning and Configuring Servers |
After completing this section, students should be able to perform package management tasks using the new DNF-based version of yum.
Red Hat Enterprise Linux 8 includes version 4 of the yum utility, which uses the DNF technology as its back end. Although the back end for yum in version 4 has changed, typical options for the command remain the same.
DNF Technology in Yum v4
DNF replaces YUM as the package management technology for RPM packages in Red Hat Enterprise Linux 8.
The DNF API enhances integration, and solves stability issues of the Yum v3 API.
Yum v4 includes the new functionality provided by DNF.
The recommended yum command is a link to dnf.
Enhancements in Yum v4
Supports modules that enable software AppStreams.
Now understands weak and boolean dependencies.
Provides a broader collection of plug-ins and add-on tooling.
Improves the performance of Yum, which is key for cloud, CI/CD, and container workloads.
Modules, Streams, and Profiles
A module is a collection of packages that are installed together. Modules solve previous issues with dependencies with older or newer packages versions. A module can include one or more streams, which are different versions of the software provided by the module. A module has just one stream active at a time, by default the stream containing the latest version of the software. Modules also include profiles, which are a list of packages which support a use case, for example to deploy a minimal install.
For more information, refer to the Installing software with yum chapter in the Red Hat Enterprise Linux 8 Configuring Basic System Settings Guide at https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#installing-software-with-yum_configuring-basic-system-settings