Wednesday, October 29, 2014

Yum: removing packages with dependencies

When removing a package using:
yum erase
The dependencies aren't removed automatically and stay in the system even if they are not being used, to fix it add the following to /etc/yum.conf:
clean_requirements_on_remove = 1

No comments:

Post a Comment