Dave's Brain

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.