Installing Python 3.8 on Oracle UEK 8.8

Cloudera Manager agents and Hue require Python 3.8. You must install Python 3.8.12 or higher on all cluster hosts before installing Cloudera Manager and adding services to your cluster. Follow instructions in this topic to install the standard Python 3.8 binaries at a standard location on Oracle UEK 8.8.

Install the Extra Packages for Enterprise Linux (EPEL) as follows:
dnf install epel-release
  1. SSH into the host system as a root user.
  2. Install Python 3.8 by running the follwing command:
    dnf install python38 python38-devel
    You can check the location at which Python 3.8 is installed by running the following commands:
    whereis python3.8
    Sample output:
    python3: /usr/bin/python3.8 /usr/bin/python3.8-config /usr/bin/python3.8-x86_64-config /usr/bin/python3 /usr/lib/python3.6 /usr/lib/python3.8 /usr/lib64/python3.6 /usr/lib64/python3.8 /usr/include/python3.6m /usr/include/python3.8 /usr/share/man/man1/python3.1.gz
    echo $PATH
    Sample output:
  3. Verify the Python version as follows:
    python3.8 --version
    Sample output:
    Python 3.8.16
Install the psycopg2-binary package
Install the psycopg2-binary package after installing Python 3.8 for using PostgreSQL as a backend database for Hue.