A. background:
Consider this sequence of dnf commands...
---------------
bash.32[~]: dnf provides Xeyes
Last metadata expiration check: 13 days, 6:37:31 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
Error: No Matches found
bash.33[~]: dnf provides x_eyes
Last metadata expiration check: 13 days, 6:38:00 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
Error: No Matches found
bash.34[~]: dnf search --all xeyes
Last metadata expiration check: 13 days, 6:38:21 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
No matches found.
bash.35[~]: dnf provides xeyes
Last metadata expiration check: 13 days, 6:38:29 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
xorg-x11-apps-7.7-18.fc27.x86_64 : X.Org X11 applications
Repo : @System
Matched from:
Provide : xeyes = 1.1.1
xorg-x11-apps-7.7-18.fc27.x86_64 : X.Org X11 applications
Repo : fedora
Matched from:
Provide : xeyes = 1.1.1
bash.36[~]:
---------------
This is just to show that
1. dnf's "provides" command is sensitive to case and special characters; the
spelling must be exact.
2. dnf's "search" command doesn't necessarily find something even when
spelled correctly.
I already have "xeyes", the above is merely demonstration.
B. the question:
If I want to find a tool, application, etc., and I don't know its exact spelling, and
trying all case and special character possibilities is not practical, how do I search for
it using dnf, so I can then install it (or discover that I already have it)?
thanks,
Bill.