I stupidly did "yum remove python" which also ended up removing all the packages that required python as well.
Luckily, I have access to another Linux machine that is a near clone of this machine, and it still has all those packages installed. The catch is that it belongs to someone else and I can, at most, poke around. I also don't know what to specifically re-install on my machine. The list (when I removed python) was humongous.
I was wondering if there were any commands I could enter into this twin machine that could tell me: Of the currently installed packages, which ones depend on python? I could then use that list to manually re-install each one back on my own machine. So it's really more of the python dependents, not dependencies.
From looking around, I came across such commands like "repoquery --whatrequires" & "rpm --whatrequires", but these don't seem to generate the same list as "yum remove python".
The 2 machines run RHEL 6.