How to Run Python 2.7 on Oracle Linux 6.x

(Doc ID 2328993.1)

Last updated on NOVEMBER 23, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.

Goal

Python 2.7 includes a new ordered dictionary type, faster I/O, and better forward compatibility with Python 3. Also included are the Python 2.7.8 interpreter, web-programming extension libraries and mod_wsgi for use with httpd24, PostgreSQL connectors, and the numpy and scipy modules for scientific applications. For more information, see https://www.python.org/

However, in Oracle Linux 6 latest channel ol6_latest ( http://yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/ , the available highest version is python-2.6.*.

Customer could not remove python-2.6* from Oracle Linux 6, because other OS functions need it.

This doc will show how to enable software collection library and run python 2.7 on OL6 env.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms