Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On .deb managed systems one can use

$ aptitude why <package>

to find out what installed package required the installation of <package>

for example:

$ aptitude why python
i   xdiagnose Depends python (< 2.8)

IMHO $ python -c 'import this' gives a better answer to the question 'why python', but I digress...

What would be the equivalent on rpm/yum governed systems (in my case Fedora)?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted
$ rpm -q --whatrequires python
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.