CentOS 7.9.1 is getting old.
Has someone a quick solution for a Python 3.7 installation on ClearOS? The Python version that comes with ClearOS / CentOS is 3.6.8-18. Before I reinvent the wheel I thought let's ask first.
Has someone a quick solution for a Python 3.7 installation on ClearOS? The Python version that comes with ClearOS / CentOS is 3.6.8-18. Before I reinvent the wheel I thought let's ask first.
In Water Cooler
Share this post:
Responses (3)
-
Accepted Answer
In the SCL repos there are rh-python35/36/38 packages. Try:
You see a full listing with:yum install rh-python38
See the SCL notes for python26 at https://www.softwarecollections.org/en/scls/rhscl/rh-python36/. Python38 will be the same. It gives the example:yum list rh-python38*
but you can replace 'bash' with any script or executable you want to run in Python 3.8.$ scl enable rh-python36 bash
-
Accepted Answer
Nice.., Nick!
I did what you said, and I had a look at the documentation you linked. So tried with a virtual machine.
yum install rh-python38
scl enable rh-python36 bash
[root@vm01 ~]# python3 --version
Python 3.8.11
Thank you.
I'm considering to run a ClearOS server again, but my biggest problem is the uncertainty of ClearOS it's future. I really like to see some development. It's the main reason why I stopped using ClearOS. I think ClearOS is a real cool Linux server OS, and when I'm tinker with ClearOS I get really enthusiastic.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »