Linux: find the dependent packages


Sometimes, you would like to update a package, but you are not sure what other packages depend on it.


If you are on Fedora, Redhat or CentOS, this simple command will definitely help you:

repoquery --whatrequires --installed --recursive packagename

Using Debian, Ubuntu, Mint, …etc ?

apt-cache rdepends --installed --recurse packagename


About nidget

Technology enthousiast, Java and JEE expert, IT architect.
This entry was posted in Tips and tricks and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s