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.


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

However, in Oracle Linux 6 latest channel ol6_latest ( , 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.


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