On Sat, 2023-07-01 at 13:18 -0700, Samuel Sieb wrote:
> On 7/1/23 08:37, stan via users wrote:
> > failed with no package, he should know to use
> > rpm -qf /usr/bin/xrandr or rpm -qf /usr/sbin/xrandr
> > to find out which package owns that executable so he can install
> > it.
> 
> That only works if the package is already installed.

According to the man page (dnf(8)):

Install Examples
...
      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.

poc
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to