Red Hat and Python

See also: Python in Fedora.

Python shipped with RHEL

RHEL Python
RHEL 6 Python 2.6
RHEL 7 Python 2.7
RHEL 8 Python 3.6

How to install Python 3 on Red Hat Enterprise Linux 7 by Rob Terzi (August 2018).

The Python shipped with RHEL is supported as long as RHEL: RHEL Life Cycle.

April 2018, RHEL 7.5 Release Notes: Chapter 54. Deprecated Functionality:

Python 2 has been deprecated: Python 2 will be replaced with Python 3 in the next Red Hat Enterprise Linux (RHEL) major release.

Python packages in RHEL

RHEL8 packages:

  • python3: Python 3.6
  • python2 (Module): Python 2.7


Software Collections

Currently supported (last update: 2018-04-23):

Python version Supported RHEL
Python27 RHEL 7, RHEL 6
Python34 RHEL 7, RHEL 6
Python35 RHEL 7, RHEL 6
Python36 RHEL 7

No longer supported:

  • Python33

Software Collections support:

Support shorter than RHEL support.

Python27 will likely be supported at least until 2020.