I have installed some rpm package on my fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove.
How can I do that now?
It's not easy. How do you differentiate between "a file that was required by something I have since removed" from "a file that is not required by anything else that I really want"?
You can use the
This will produce a list of "libraries" on which nothing else depends. In most cases you can safely remove these packages. If you add
You'll get packages that aren't considered libraries, also, but this list is going to be so long that it probably won't be useful.
If you install a package with
But you can look at all the 'transactions' (install, remove etc.):
And then you can undo that transaction: