Ask Your Question
0

How to check if a package has dependents?

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

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
0

answered 2015-12-12 17:20:12 -0600

Hi,

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

Comments

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 89 times

Last updated: Dec 12 '15