Welcome to Install and Update Software Packages — I'm Dennis Kibbe from Mesa Community College. Today we'll explore how to register systems, work with RPM and DNF, manage repos, and more. This slide presentation was created by B6Plus. The audio accompanying this presentation is AI-generated.
Module Outline
Register Systems for Red Hat Support
Quiz
Explain and Investigate RPM Software Packages
Guided Exercise
Install and Update Software Packages with DNF
Guided Exercise
Enable DNF Software Repositories
Guided Exercise
Summary
Resources
Graded Lab
Let's review today's outline: we'll start with system registration, then move to RPMs, complete exercises, dive into DNF, enable repositories — all culminating in a summary and graded lab.
Learning Objectives
After completing the work in this module you will be able to:
Describe the process for registering hosts for Red Hat support.
Examine RPM packages.
Query the system for software packages based on different criteria.
Find, install, and update software packages with the dnf command.
Enable and disable server use of Red Hat or third-party DNF repositories.
Explain how backporting contributes to system security.
By the end of this module, you'll be able to register RHEL hosts, inspect RPMs, query/install packages via DNF, enable or disable repos, and understand how backporting keeps systems secure.
Register Systems for Red Hat Support
Red Hat Subscription Management
Register a system with a Red Hat account.
Subscribe a system for updates and support.
Enable repositories to provide software packages.
Review and track entitlements.
Entitlement Certificates
/etc/pki/product certificates indicate installed Red Hat products.
/etc/pki/consumer certificates identify the Red Hat account for registration.
/etc/pki/entitlement certificates indicate which subscriptions are attached.
Graded Quiz
Register Systems for Red Hat Support
Explain and Investigate RPM Software Packages
Software Packages and RPM
Name
httpd-2.4.62-1.el9_5.2.x86_64.rpm
Software Packages and RPM
Version
httpd-2.4.62-1.el9_5.2.x86_64.rpm
Software Packages and RPM
Release
httpd-2.4.62-1.el9_5.2.x86_64.rpm
Software Packages and RPM
Architecture
httpd-2.4.62-1.el9_5.2.x86_64.rpm
This package is built for 64bit Intel and AMD processors.
[student@servera ~]$ dnf search all 'web server'
========== Summary & Description Matched: web server ===========
nginx.x86_64 : A high performance web server and reverse proxy
pcp-pmda-weblog.x86_64 : Co-Pilot (PCP) metrics from logs
================ Summary Matched: web server ===================
libcurl.x86_64 : A library for getting files from web servers
libcurl.i686 : A library for getting files from web servers
============= Description Matched: web server ==================
freeradius.x86_64 : High-performance free RADIUS server
...output omitted...
Find Details About a Package
[student@servera ~]$ dnf info httpd
Available Packages
Name : httpd
Version : 2.4.51
Release : 5.el9
Architecture : x86_64
Size : 1.5 M
Source : httpd-2.4.51-5.el9.src.rpm
Repository : rhel-9.0-for-x86_64-appstream-rpms
Summary : Apache HTTP Server
...output omitted...
What Package Provides a File
Install Software with DNF
Remove Software with DNF
Install and Remove Groups of Software with DNF
Install and Remove Groups of Software with DNF
View Transaction History
Manage Package Module Streams with DNF
Introduction to BaseOS and Application Stream
Module Streams
Module Profiles
Manage Modules with DNF
Guided Exercise
Install and Update Software Packages with DNF
Enable DNF Software Repositories
Extra Packages for Enterprise Linux
Enable Red Hat Software Repositories
Add DNF Repositories
RPM Configuration Packages for Local Repositories
Guided Exercise
Enable DNF Software Repositories
Summary
Describe the tools Red Hat provides to entitle machines to product subscriptions, get updates to software packages, and track information about support contracts and subscriptions that the systems use.
Describe the format and naming scheme of RPM packages.
Demonstrate how the rpm command is use to query information about software packages.
Demonstrate how the dnf command is used to install, update, remove, and query software packages.
Describe the benefits of Application Streams in Red Hat Enterprise Linux.
Keyboard Shortcuts
Welcome to Install and Update Software Packages — I'm Dennis Kibbe from Mesa Community College. Today we'll explore how to register systems, work with RPM and DNF, manage repos, and more. This slide presentation was created by B6Plus. The audio accompanying this presentation is AI-generated.