Dave's Brain

Browse - computer tips - rpm find leaves and orphans

Date: 2009jun10
OS: Fedora, CentOS, RedHat

Q.  How can I find leaf and orphan packages?

A.  Install the yum-utils package if you don't already have it:

	yum install yum-utils

Then you can run:

	package-cleanup --leaves
		List leaf nodes in the local RPM database.  Leaf nodes are RPMs
		that are not relied upon by any other RPM.

	package-cleanup --orphan
		List installed packages which are not available from currently
		configured repositories.

Its not automatically safe to erase the packages you find.
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: