Linux: find the dependent packages

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

This entry was posted in Tips and tricks and tagged , , , , . Bookmark the permalink.

Leave a comment