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

5,573

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'
Share:
5,573

Related videos on Youtube

Evan Carroll
Author by

Evan Carroll

Consider opposing apartheid in Palestine and signing onto the BDS Movement; #1 User for DBA.SE 2017. Available for contracting: 281.901.0011 PostgreSQL & PostGIS / MySQL / SQL Server JavaScript, Typescript, Rx.js, Node.js, Angular Also: C / Perl / Python / Rust / x86 Assembly

Updated on September 18, 2022

Comments

  • Evan Carroll
    Evan Carroll over 1 year

    Want package provides gnome-sound-recorder in Fedora?