Forums

Resolved
0 votes
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.
Saturday, May 07 2022, 11:08 AM
Share this post:
Responses (3)
  • Accepted Answer

    Saturday, May 07 2022, 12:45 PM - #Permalink
    Resolved
    0 votes
    In the SCL repos there are rh-python35/36/38 packages. Try:
    yum install rh-python38
    You see a full listing with:
    yum list 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:
    $ scl enable rh-python36 bash
    but you can replace 'bash' with any script or executable you want to run in Python 3.8.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 08 2022, 07:16 AM - #Permalink
    Resolved
    0 votes
    Thanks Nick!

    I'll have a look.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 08 2022, 05:01 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
Your Reply