[root@localhost Downloads]# yum
/bin/bash: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
[root@localhost Downloads]# dnf
bash: /usr/bin/dnf: /usr/bin/python3: bad interpreter: No such file or directory
[root@localhost Downloads]# yum-deprecated
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
pycurl: libcurl link-time version (7.43.0) is older than compile-time version (7.47.1)
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.11 (default, Jun 21 2016, 09:15:12)
[GCC 6.1.1 20160510 (Red Hat 6.1.1-2)]
If you cannot solve this problem yourself, please go to
the yum faq at: