Ask Your Question

How to check if a package has dependents?

asked 2015-12-12 15:46:02 -0500

I know one can check the dependencies of a package by running commands such as rpm -qR *package_name* among others . But is there a convenient command to obtain a list of all possible programs/packages that are dependencies of a particular package? Answers not specific to Fedora are welcome as well.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-12 17:20:12 -0500


That pretty straight forward with rpm, taking systemd as a package example

rpm -q --whatrequires systemd

Will give you a list of all packages that require systemd. Is that what yo are looking for?

Cheers, Jon

edit flag offensive delete link more


Guess I should've read the man page more thoroughly, thanks this is exactly what I was looking for.

jethreezy gravatar imagejethreezy ( 2015-12-12 19:05:35 -0500 )edit

Question Tools

1 follower


Asked: 2015-12-12 15:45:39 -0500

Seen: 94 times

Last updated: Dec 12 '15