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 - Linux Tutorial
From the course: CompTIA Linux+ (XK0-005) Cert Prep
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…
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
-
-
-
-
-
-
-
-
-
-
-
-
Software management systems overview5m 52s
-
(Locked)
DNF overview3m 2s
-
(Locked)
Get DNF packages by name4m 9s
-
(Locked)
Get info on packages with DNF4m 9s
-
(Locked)
Get info on package groups with DNF3m 13s
-
(Locked)
Search for packages with DNF1m 34s
-
(Locked)
Install and remove packages with DNF4m 7s
-
(Locked)
Install and remove package groups with DNF2m 32s
-
(Locked)
Get package information with RPM8m 15s
-
(Locked)
Manage DNF repositories5m 32s
-
(Locked)
Manage OS updates5m 50s
-
(Locked)
Update the kernel5m 30s
-
(Locked)
Manage kernel modules4m 50s
-
(Locked)
Get package information with dpkg and APT5m 40s
-
(Locked)
Manage software with dpkg and APT3m 55s
-
(Locked)
Work with APT repositories8m 2s
-
(Locked)
Install software from source4m 58s
-
(Locked)
About sandboxed applications8m 44s
-
-
-
-
-
-
-
-
-
-
-