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