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

Advertisements

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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s