Cloudera Enterprise 6.0.x | Other versions

(RHEL 6 Compatible Only) Install Python 2.7

Cloudera Enterprise 6, specifically Hue, requires Python 2.7, which is included by default in RHEL 7 compatible operating systems (OSes).

RHEL 6 compatible OSes include Python 2.6. You must install Python 2.7 on all hosts running Hue before installing/upgrading Cloudera Manager and CDH.

Redhat 6
  1. Enable the Software Collections Library:
    sudo yum install centos-release-scl
  2. Install the Software Collections utilities:
    sudo yum install scl-utils
  3. Install Python 2.7:
    sudo yum install python27
Centos 6
  1. Enable the Software Collections Library. For more information, see the Red Hat knowledge base article How to use Red Hat Software Collections (RHSCL) or Red Hat Developer Toolset (DTS)?.
  2. Install the Software Collections utilities:
    sudo yum install scl-utils
  3. Install Python 2.7:
    sudo yum install python27
Oracle Linux 6
  1. Download the Software Collections Library repository:
    sudo wget -O /etc/yum.repos.d/public-yum-ol6.repo http://yum.oracle.com/public-yum-ol6.repo
  2. Edit /etc/yum.repos.d/public-yum-ol6.repo and make sure that enabled is set to 1, as follows:
    [ol6_software_collections]
    name=Software Collection Library release 3.0 packages for Oracle Linux 6 (x86_64)
    baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/SoftwareCollections/x86_64/
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
    gpgcheck=1
    enabled=1

    For more information, see Installing the Software Collection Library Utility From the Oracle Linux Yum Server in the Oracle documentation.

  3. Install the Software Collections utilities:
    sudo yum install scl-utils
  4. Install Python 2.7:
    sudo yum install python27
Page generated July 25, 2018.