yum erase unused dependencies

Michael Schwendt mschwendt at gmail.com
Wed Mar 27 12:33:21 UTC 2013

On Tue, 26 Mar 2013 18:22:49 -0430, Patrick O'Callaghan wrote:

> > yum list yum\*
> > yum info yum-plugin-remove-with-leaves
> package-cleanup can also be useful in this context.

And let's not forget "yum history undo …", too, since it is the much
cleaner solution for the occasional "install something to take a look and
remove it again afterwards" scenario.

Pure leaf package removal bears the risk that you remove something that no
other package depends on but _you_ need it.

Fedora release 19 (Schrödinger’s Cat) - Linux 3.9.0-0.rc3.git1.4.fc19.x86_64
loadavg: 0.53 0.20 0.11

More information about the users mailing list