Browse - Computer Tips - How can I see what a package requires (its dependencies)?

Date: 2014oct6
OS: RedHat/Fedora/CentOS

Q.  How can I see what a package requires (its dependencies)?

A.  Here's the command:

rpm -q --requires <package>
Or
rpm -qR <package>
For example:
rpm -qR ant