<div dir="auto">I was unclear in my initial post. <div dir="auto"><br></div><div dir="auto">Yum apparently can search the repos for package names that contain strings matching the requested string even if they are not installed.</div><div dir="auto"><br></div><div dir="auto">Dnf seems to be hit or miss when I test on uninstalled packages. Just tested on a fedora25 system for the uninstalled girl binary. I get proper results for 'girl' as well as '/usr/bin/girl'. It fails on semanage but is ok for /usr/sbin/semanage. Tests for installed binaries are similar. Some show results for pathless binary while most require path.</div><div dir="auto"><br></div><div dir="auto">Bash can offer to install a package if you try to run an uninstalled command. I'm thinking there's an additional boolean in rpmdb for one word search for binary and not all packages are on that list.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 16, 2016 11:58 PM, "Scott M. Jones" <<a href="mailto:eff@dragoncon.org">eff@dragoncon.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>On Dec 16, 2016, at 2:59 PM, Jim Kinney <<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>> wrote:</div><div><br></div><blockquote type="cite"><div><div><br></div><div>Sadly, dnf, the yum replacement for Fedora does not always work (no semanage found but firefox was which is a package name instead of a file in a package like semanage).</div></div></blockquote><br><div><a href="http://dnf.readthedocs.io/en/latest/cli_vs_yum.html#dnf-provides-bin-file-does-not-find-any-packages-on-fedora" target="_blank">http://dnf.readthedocs.io/en/<wbr>latest/cli_vs_yum.html#dnf-<wbr>provides-bin-file-does-not-<wbr>find-any-packages-on-fedora</a></div><div><br></div><div>Try:</div><div>dnf provides /usr/sbin/semanage</div><div><br></div></div><br>______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
<br></blockquote></div></div>