yum: getting rid of everything that got installed from that install
September 4, 2008
So, we’ve all been in this situation. You install something you hadn’t seen before. It pulls in the world in dependencies. You use the program for a little while and you realize that you don’t really want it anymore. You run ‘yum remove whatever’ and it removes just whatever. But you know all the deps it pulled in are still installed dirtying up your system.
I wrote this today in response to a thread on fedora-devel-list:
You run it as:
Then it will remove that package and the deps that it pulled in that are not in use by anything else.
It works reasonably well. Let me know what you think.