Re: Do dependencies specified in .rpm file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-11-26 9:40 GMT+01:00 Ali AlipourR <alipoor90@xxxxxxxxx>:
> 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:
http://www.rpm.org/max-rpm/ch-rpm-query.html


Regards,
Domen
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list




[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux