From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage OS updates

Manage OS updates

- [Instructor] We can check for operating system updates using the dnf check-update subcommand. In a terminal, type in dnf check-update, and hit Enter. This shows all software packages that need updated. Notice near the bottom, my grub2-tools packages are indented. These packages are indented because they have been obsoleted. The packages that they're indented from will replace them. We can verify this with dnf list obsoletes. Type in clear, then type in dnf list --obsoletes. We can upgrade single packages by specifying them. Type in sudo dnf upgrade grub2-tools, and hit Enter. And then type in your password if prompted. This upgrades the grub-tools package and its dependencies. To upgrade the entire operating system, leave off the package name. Type in clear, and then type in sudo dnf upgrade, and hit Enter. On my system, dnf wants to download and upgrade 106 packages. For now, let's say no. If you want to upgrade…

Contents