.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RPMDEPS" "1" "2026\-08\-31" "RPM 6.1.0" .PP .SH NAME rpmdeps \- Generate RPM Package Dependencies .PP .SH SYNOPSIS \fBrpmdeps\fR [options] .PP \fBrpmdeps\fR [options] \fIFILE\fR .\&.\&.\& .PP .SH DESCRIPTION \fBrpmdeps\fR generates package dependencies for one or more files, received either as a list of filenames on the standard input, or command line arguments.\& .PP \fBrpmdeps\fR is not normally invoked directly, but doing so can be useful for troubleshooting dependency generation and developing new dependency generators.\& The installation directory of \fBrpmdeps\fR can be determined with \fBrpm \-E "%{_rpmconfigdir}"\fR.\& .PP Note that the actual \fBrpmdeps\fR command is only used for automatic dependency generation in a legacy compatibility mode of \fBrpmbuild\fR(1).\& .PP .SH OPERATIONS \fB\-\-alldeps\fR .RS 4 Print all the dependencies.\& .PP .RE \fB\-\-conflicts\fR .RS 4 Print the conflicts dependencies.\& .PP .RE \fB\-\-enhances\fR .RS 4 Print the enhances dependencies.\& .PP .RE \fB\-\-obsoletes\fR .RS 4 Print the obsoletes dependencies.\& .PP .RE \fB\-\-orderwithrequires\fR .RS 4 Print the orderwithrequires dependencies.\& .PP .RE \fB\-P, \-\-provides\fR .RS 4 Print the provides dependencies.\& .PP .RE \fB\-\-recommends\fR .RS 4 Print the recommends dependencies.\& .PP .RE \fB\-R, \-\-requires\fR .RS 4 Print the requires dependencies.\& .PP .RE \fB\-\-suggests\fR .RS 4 Print the suggests dependencies.\& .PP .RE \fB\-\-supplements\fR .RS 4 Print the supplements dependencies.\& .PP .RE .SH ARGUMENTS \fIFILE\fR .RS 4 Any regular file.\& .PP .RE .SH OPTIONS See \fBrpm\-common\fR(8) for the options common to all operations.\& .PP .SH ENVIRONMENT \fBRPM_BUILD_ROOT\fR .RS 4 The prefix path to strip out when generating dependencies based on actual paths.\& .PP .RE .SH EXIT STATUS On success, 0 is returned, a nonzero failure code otherwise.\& .PP .SH EXAMPLES \fBrpmdeps \-\-requires /bin/ls\fR .RS 4 Output the automatic requires dependencies of the \fBls\fR(1) binary.\& .PP .RE \fBfind popt\-1.\&19\-build/BUILDROOT \-type f | /usr/lib/rpm/rpmdeps \-P\fR .RS 4 Output the automatic provides of all files in the \fIpopt\-1.\&19\-build/BUILDROOT\fR directory .PP .RE .SH SEE ALSO \fBrpm\fR(8), \fBrpmbuild\fR(1), \fBrpm\-common\fR(8)