Podlipodcast player Webplayer

CyberCode Academy

CyberCode Academy

Course 44 - RH Security Specialist | Episode 2: Mastering Yum Updates and RPM Verification

CyberCode Academy · Sep 22, 2026 · 23:00

0:0023:00

Listen in the Podli app 🎧

Follow your favourite podcasts, listen offline and in the car with CarPlay and Android Auto, and always pick up where you left off. Free to try.

Maintaining a secure and reliable Linux environment requires more than simply installing the latest software. Administrators must understand how security updates are identified and applied, how package authenticity is established, and how installed software can be inspected and verified at a lower level.In this episode, we explore the security-focused package management workflows used across Red Hat and CentOS environments. Starting with automated security patching through Yum, we progress into cryptographic package verification and finally examine direct package management with RPM.The goal is to build a practical understanding of how Linux administrators can keep systems patched, maintain a trusted software supply chain, and detect unexpected changes to installed packages.1. Targeted Security Patching with YumWe begin with proactive vulnerability management and security patching.Rather than updating every available package indiscriminately, Yum can be used to identify and apply updates specifically related to security advisories. This allows administrators to reduce unnecessary system changes while prioritizing vulnerabilities that require immediate attention.Key topics include:This workflow demonstrates an important principle of enterprise Linux administration: patch deliberately, not blindly.2. Understanding the Cryptographic Chain of TrustInstalling a package means trusting the software that is being introduced into the operating system. Linux package management therefore relies on cryptographic mechanisms to help verify package authenticity.We examine how GPG key pairs establish a chain of trust between software publishers and package consumers.The episode covers:rpm -qa gpg-pubkey*This section connects package management with a broader security concept: software should be trusted because its integrity and origin can be verified, not simply because its filename or download location looks legitimate.3. Verifying Locally Downloaded PackagesPackage verification becomes particularly important when software has been downloaded manually rather than retrieved directly through a configured repository.We examine how administrators can verify a local package before installation by checking both its integrity and cryptographic signature.The workflow introduces:This provides a practical foundation for understanding software supply-chain security at the operating-system level.4. Yum vs. Direct RPM OperationsYum provides a high-level package management experience, while RPM operates closer to the package database and individual package files.We compare these two approaches and examine when each is appropriate.A particularly useful workflow is installing a locally downloaded package through Yum, allowing dependency resolution to be handled automatically rather than manually managing every required package.This distinction highlights the difference between:Understanding both layers gives administrators greater control over Linux software management.5. Direct Package Management with RPMThe episode then moves into the core RPM operations used to manage installed packages.We examine the primary package-management options:We also explore the differences between installing a package, upgrading an existing installation, and freshening packages that are already present.This low-level perspective makes it easier to understand what package managers are doing behind the scenes and provides administrators with a more complete troubleshooting toolkit.6. The Kernel Management ExceptionOne of the most important operational lessons in this episode concerns Linux kernel packages.Kernel management requires additional care because an unsuccessful upgrade can affect the system's ability to boot.We examine why kernel packages should generally be installed in parallel rather than treating them like ordinary packages that simply replace the previous version.The underlying principle is straightforward:Always preserve a known-good kernel whenever possible so that the system retains a recovery path if the new kernel fails.This section emphasizes the relationship between package management and system availability.7. Auditing the RPM DatabasePackage management is not only about installation and removal. RPM can also be used to investigate what is currently installed and verify whether package contents re

Episodes: CyberCode Academy

PodliGet the free Podli app
↓ App