Linux – What’s the rpm/yum equivalent of `aptitude why`

linuxpackage-managementrpmyum

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)?

Best Answer

$ rpm -q --whatrequires python
Related Question