Hacker News new | ask | show | jobs
by elehack 4829 days ago
Modern Yum does track explicit vs. dependency installs, though this is not very visible in the UI. There are ways to query the Yum database for it, though.

Yum also has an option (disabled by default) to remove unneeded auto-installed dependencies when removing packages (set clean_requirements_on_remove=yes in /etc/yum.conf)[1]. This option does not remove manually-installed packages (though the docs are not clear on this point, unfortunately).

1. http://unix.stackexchange.com/a/56056

1 comments

That's good news! My latest experience was with CentOS and Fedora installs at my last job, but most of the installs there were a bit older.