Do dependencies specified in .rpm file?

Domen Vrankar domen.vrankar at
Wed Nov 26 09:30:26 UTC 2014

2014-11-26 9:40 GMT+01:00 Ali AlipourR <alipoor90 at>:
> Hi
> Do rpmbuild will embed list of dependencies, package info etc in .rpm file?
> how can I view it?

For dependencies use:
rpm -qpR <package_file_name>

q is query flag
p means that you are querying a package file and not rpm database
R lists dependencies of the rpm package (requires)

and for e.g. l lists rpm file content and i lists info so you could run rpm with

rpm -qpl <package_file_name>

to get content list or

rpm -qpi <package_file_name>

to get rpm package info.

And here you can find query flags reference:


More information about the Rpm-list mailing list