How do I find what RPM package provides a system executable with Fedora?

3

1

Want package provides gnome-sound-recorder in Fedora?

Evan Carroll

Posted 2011-06-12T23:44:12.390

Reputation: 1

Answers

7

Pass -f when querying the rpmdb to specify a file to look for.

rpm -qf /path/to/executable
rpm -qf $(which executable)

If the file is not installed then ask yum.

yum whatprovides '*bin/executable'

Ignacio Vazquez-Abrams

Posted 2011-06-12T23:44:12.390

Reputation: 100 516