Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Other Python Versions on RHEL7 (was Python 2x3)



On Wed, Jan 18, 2017 at 12:00 AM, <jep200404@example.com> wrote:
On Tue, 17 Jan 2017 09:25:07 +0100, Christian Horn <chorn@example.com> wrote:

> FWIW, Red Hat [1] released RHEL7 in 2014 with python 2.7, and rpm/yum
> are using it.

Since the OS relies on it, you don't dare stray from whatever
Red Hat provides, at least as far as the whole system is concerned.

So if you need to use some other version of Python, even a newer
version of 2.7, consider miniconda/anaconda in combination with
their conda program to install other versions of Python 2 or 3,
per project. This is separate from what is available system wide.
IIRC, conda is like virtualenv + pip, and also allows one to install
a version of Python in the virtual environment.

An alternative to the above are the "Software collections"[1]. These offer "supported" versions of Python 3.x (and other popular software) for RHEL6 and RHEL7[2] that don't interfere with any of the "system" software (everything is installed under /opt/rh).

For RHEL, there are even the RedHat software collections[3], though I am not sure what their relationship with the other one is anymore. There was certainly no "free" alternative to the RHSC for a while.

[3] https://access.redhat.com/documentation/en/red-hat-software-collections/

--
Georgi

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links