Product SiteDocumentation Site

6.17. yum-plugin-remove-with-leaves

This extension removes unused dependencies which have been incorporated by an installation package that would otherwise not be removed. Helps maintain a system clean of libraries and unused packages.
This extension adds the following options to the remove command:
--leaves-exclude-bin
Do not remove leaf packages containing executable binaries.
--remove-leaves
Removes unneeded dependencies for other packages.

6.17.1. Configuration

/etc/yum/pluginconf.d/remove-with-leaves.conf
[main]
enabled = 1
#exclude_bin = 1
#remove_always = 1
enabled = 0|1
Enable extension at a general level.
exclude_bin = 1|0
Do not remove leaf packages with binaries.
remove_always = 1|0
Always remove leaf packages.