pkgfile

Tool for searching files from packages in the official repositories on arch-based systems. See also pacman files, describing the usage of pacman --files. More information: <https://man.archlinux.org/man/extra/pkgfile/pkgfile.1>.

Arch Arch Linux
RUN pacman -S --noconfirm pkgfile
click the source code to copy install pkgfile on any operating system with command-not-found.com