Skip to main content

Running DNF

ol lab tutorial ol-package
Table of Contents

Links

🌙 Lab

🗒 Tutorial

Details

Oracle Linux provides the dnf utility, based on Dandified Yum (DNF), as the client software for installing and managing system packages. These packages can come from the Unbreakable Linux Network (ULN) or an Oracle Linux yum server. Software packages are installed on a system using standard dnf commands and depend on the system having enabled the appropriate ULN channel subscriptions or yum repositories. While installing or upgrading packages, dnf automatically handles package dependencies and requirements.

DNF significantly improves functionality and performance and brings many new features, including modular content and a more stable and documented API, compared to the traditional’ yum’ command.

Objectives

In this tutorial, you’ll learn how to:

  • Work with DNF repositories
  • Manage packages and modules
  • Install security updates
  • Leverage package groups
  • Use the DNF history feature
  • Automate patch upgrades

Prerequisites

  • Minimum of a single Oracle Linux system

  • Each system should have Oracle Linux installed and configured with:

    • A non-root user account with sudo access
    • Access to the Internet