Linux needs FIXING 3: RHEL7 and Python3
nagger 100000MRSJ Comments (3) Visits (821)
It seems I am not alone on this annoying RHEL 7 missing feature so I thought I would share the solution.
Note: Installing Python 3 on Ubuntu 16 or 18 takes about 3 seconds.
Note: Only historic applications use Python 2.7 and around the web, you will find lots of comments about ONLY write Python 3.
So I need Python 3 on RHEL - I thought this would take only a few seconds using yum on Red Hat as I have the repositories already setup.
But installing Python 3 on REHL 7.6 - it took me about 2 hours of frustration.
Python 2.7 seems to be there at initial install - I think!
Admittedly, I am using an unlicensed version of RHEL 7.6 on Power ppc64le - I am not sure the AMD64 world is any different.
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.
I really must have Python 3 for my project and we are not talking rocket science or like this is unusual.
But I could not work out:
Eventually, I used the following found on two websites that reputable:
As root: yum install http
Note: The last two lines are to install the InfluxDB Python 3 client library, so I can inject njmon data into influxDB.
I really, don't understand why this is so difficult.
If you know why? Please comment.
I do note that:
So this problem disappears as we all use RHEL in the future but RHEL 7 will be used for many years.
- - - The End - - -