I am working on a Red Hat Enterprise Linux server where someone apparently fat-fingered a Python version cleanup and broke
yum as a result. A colleague gathered that in order to fix that, you have to manually install the Python .rpm used by that particular version of yum, but since
yum --version doesn't work, we have no way to know which version of yum is installed on that server.
rpm -q yum doesn't work either, because
yum appears to have been side-loaded on that server.
Is there any way to find the installed version other than with package manager commands?