yum erase unused dependencies

Patrick O'Callaghan pocallaghan at gmail.com
Tue Mar 26 22:52:49 UTC 2013


On Tue, 2013-03-26 at 20:40 +0100, Michael Schwendt wrote:
> On Tue, 26 Mar 2013 15:32:59 -0400, Bill Davidsen wrote:
> 
> > I recall last year a discussion of using yum to remove unwanted packages, and 
> > tell it to remove only dependencies which were used by no other package. I can't 
> > seem to find how that was done in my notes, could someone give me a pointer to 
> > the method?
> 
> yum list yum\*
> yum info yum-plugin-remove-with-leaves
> 
> -- 
> Fedora release 19 (Schrödinger’s Cat) - Linux 3.9.0-0.rc3.git1.4.fc19.x86_64
> loadavg: 0.15 0.08 0.06

package-cleanup can also be useful in this context.

poc



More information about the users mailing list