dnf provides <full-path-to-file>For example:
dnf provides /usr/bin/lsExample output:
... coreutils-9.10-5.fc44.x86_64 : A set of basic GNU tools commonly used in shell scripts Repo : @System Matched From : Filename : /usr/bin/ls ...If you don't know the folder:
dnf provides $(which --skip-alias ls)Or use: https://rpmfind.net