From the course: CompTIA Linux+ (XK0-005) Cert Prep

Unlock the full course today

Join today to access over 24,100 courses taught by industry experts.

Manage OS updates

Manage OS updates

- [Instructor] We can check for operating system updates using the dnf check-update sub command. 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, and 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…

Contents