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
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Install from a software repository3m 9s
-
(Locked)
Linux repository management systems2m 43s
-
(Locked)
Query with RPM7m 14s
-
(Locked)
RPM query formatting6m 14s
-
(Locked)
DNF overview3m 2s
-
(Locked)
Select DNF packages by name4m 9s
-
(Locked)
Get info on packages with DNF4m 9s
-
(Locked)
Get info on package groups3m 13s
-
(Locked)
Search for packages1m 34s
-
(Locked)
Install and remove packages4m 7s
-
(Locked)
Install and remove package groups2m 33s
-
(Locked)
Manage OS updates5m 50s
-
(Locked)
Update the kernel5m 30s
-
(Locked)
Manage kernel modules4m 50s
-
-