|
NAME | SYNOPSIS | DESCRIPTION | OPERATIONS | ARGUMENTS | OPTIONS | ENVIRONMENT | EXIT STATUS | EXAMPLES | SEE ALSO | COLOPHON |
|
|
|
RPMDEPS(1) General Commands Manual RPMDEPS(1)
rpmdeps - Generate RPM Package Dependencies
rpmdeps <operation> [options]
rpmdeps <operation> [options] FILE ...
rpmdeps generates package dependencies for one or more files,
received either as a list of filenames on the standard input, or
command line arguments.
rpmdeps is not normally invoked directly, but doing so can be
useful for troubleshooting dependency generation and developing
new dependency generators. The installation directory of rpmdeps
can be determined with rpm -E "%{_rpmconfigdir}".
Note that the actual rpmdeps command is only used for automatic
dependency generation in a legacy compatibility mode of
rpmbuild(1).
--alldeps
Print all the dependencies.
--conflicts
Print the conflicts dependencies.
--enhances
Print the enhances dependencies.
--obsoletes
Print the obsoletes dependencies.
--orderwithrequires
Print the orderwithrequires dependencies.
-P, --provides
Print the provides dependencies.
--recommends
Print the recommends dependencies.
-R, --requires
Print the requires dependencies.
--suggests
Print the suggests dependencies.
--supplements
Print the supplements dependencies.
FILE
Any regular file.
See rpm-common(8) for the options common to all operations.
RPM_BUILD_ROOT
The prefix path to strip out when generating dependencies
based on actual paths.
On success, 0 is returned, a nonzero failure code otherwise.
rpmdeps --requires /bin/ls
Output the automatic requires dependencies of the ls(1)
binary.
find popt-1.19-build/BUILDROOT -type f | /usr/lib/rpm/rpmdeps -P
Output the automatic provides of all files in the
popt-1.19-build/BUILDROOT directory
rpm(8), rpmbuild(1), rpm-common(8)
This page is part of the rpm (RPM Package Manager) project.
Information about the project can be found at
⟨https://github.com/rpm-software-management/rpm⟩. It is not known
how to report bugs for this man page; if you know, please send a
mail to man-pages@man7.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/rpm-software-management/rpm.git⟩ on
2026-01-16. (At that time, the date of the most recent commit
that was found in the repository was 2026-01-15.) If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a
mail to man-pages@man7.org
RPM 6.0.90 2026-01-16 RPMDEPS(1)
Pages that refer to this page: rpm-dependency-generators(7)