

So this problem disappears as we all use RHEL 8 in the future but RHEL 7 will be used for many years.We’ll show you how to install Python 3.6.4 on CentOS 7. yum on RHEL 8 is written in Python 3.6 (which is default installed).yum on RHEL7 is written in Python 2.7 (hence the default install) and.I really, don't understand why it is is so difficult. If you know why? Please comment. Note: The last two lines are to install the InfluxDB Python 3 client library, so I can inject njmon data into InfluxDB.


Why do I have to use Fedora's repository? This just does not feel right.Why is Python 3 not on the basic installation media / DVD /.iso? It is a common requirement.How to install it? What the package is even called.Įventually, I used the following found on two websites that reputable: As root: yum install.Where the code is held? - which DVD image or repository.I really must have Python 3 for my project and we are not talking rocket-science or like this is unusual. I am using RHEL 7.6 on a Power LPAR (VM) to test InfluxDB and Grafana handling njmon data - this is for demonstrations and encouraging clients to do the same on licensed RHEL. If IBM uses RHEL for production use, internally for running services or running it on behalf of a clie nt, then the licenses and support are purchased.At IBM, we have a great agreement with Red Hat that for skills, education, and demonstrations then this is allowed.But I need to run and write Python 3.Īdmittedly, I am using an unlicensed version of RHEL 7.6 on Power ppc64le: Python 2.7 was there in the initial installation. So I need Python 3 on RHEL - I thought this install would take only a few seconds by using yum on Red Hat as I have the repositories already setup. But installing Python 3 on RHEL 7.6 - it took me about 2 hours of frustration. Note: Only historic applications use Python 2.7 and around the web, you find lots of comments about ONLY writing Python version 3 from 2019 onwards.

Note: Installing Python 3 on Ubuntu 16 or Ubuntu 18 takes about 3 seconds to install.It seems I am not alone on this annoying RHEL 7 missing feature, so I thought I would share the solution.
