On Sat, 01 Jul 2023 18:13:53 +0100 Patrick O'Callaghan <pocallag...@gmail.com> wrote:
> I had a similar reaction until I checked. It turns out that dnf is > smart enough to determine the package from the executable name: > > $ sudo dnf install /usr/bin/xrandr > Last metadata expiration check: 2:57:58 ago on Sat 01 Jul 2023 > 15:12:20 BST. > Package xrandr-1.5.2-2.fc38.x86_64 is already installed. > Dependencies resolved. > Nothing to do. > Complete! > > From 'man dnf': > > dnf install vim > DNF will automatically recognize that vim is not a > package name, but will look up and install a package that provides > vim with all the required dependencies. Note: Package name match has > precedence over package provides match. > > > You learn something new every day. Yes, I did! Thanks. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue