Scroll to navigation

DNF5-PROVIDES(8) dnf5 DNF5-PROVIDES(8)

NAME

dnf5-provides - Provides Command

SYNOPSIS

dnf5 provides [global options] <package-spec>...

DESCRIPTION

The provides command in DNF5 finds the packages providing the given <package-spec>. It can match specs by Provides or by filename.

EXAMPLES

Outputs which packages provide the command tito.

Outputs which package provides the file /usr/bin/tito

There is no Provides for zless but a package that contains zless exist.
Outputs the package that provides the file /usr/bin/zless


NOTE:

New behavior: if one or more packages are not found by provides DNF5 will now return exit code 1 and list all provides that do not match at the end of the output.


Output provides for rpm and inform in stderr that nonexistent_package
did not match any result.


SEE ALSO

dnf5-specs(7), Patterns specification



AUTHOR

See AUTHORS.md in dnf5 source distribution.

COPYRIGHT

Contributors to the dnf5 project.

September 23, 2024