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.
Search for packages
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Search for packages
- [Instructor] Searching for packages using DNF is fairly straightforward. Not only does DNF provide a search sub-command, but we can also use the DNF list command discussed earlier. To search for a package, just type DNF space search followed by the package name. For instance, DNF space search space VIM and hit enter. By default, DNF searches the name and summary information only. The results are printed in bold. Notice that DNF is doing a case insensitive search. Both lowercase VIM and upper case VIM show up. Also notice that the word VIM is on every line either in the name or the summary. To search all metadata including the description, type in clear, then type in DNF space search space dash dash all space VIM and hit enter. Notice that the last couple of lines don't have anything in bold. This means that the matching string isn't in the name or the summary. It's probably in the description. With the DNF list…
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
-
-