Check version compatibility: https://supportmatrix.hortonworks.com, green represents compatibility.
The flow chart is as follows:

Software environment:
-
yumandrpm(RHEL/CentOS/Oracle/Amazon Linux) -
zypperandphp_curl(SLES) -
apt(Debian/Ubuntu) -
scp, curl, unzip, tar, andwget -
OpenSSL (v1.01, build 16 or later)
-
Python
- For SLES 12:
-
Python 2.7.x
- For CentOS 7, Ubuntu 14, Ubuntu 16, and Debian 9:
-
Python 2.7.x