My Oracle Support Banner

Oracle Linux: How to Install and Run Python 2.7 on Oracle Linux 6 (Doc ID 2328993.1)

Last updated on MAY 17, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 6.0 to Oracle Linux 6.10 [Release OL6 to OL6U10]
Linux x86-64


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.