tar zxvf Python-3.8.3.tgz
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
cd Python-3.8.3
./configure prefix=/opt/app/python3
make && make install
ln -s /opt/app/python3/bin/python3 /usr/bin/python3
ln -s /opt/app/python3/bin/pip3 /usr/bin/pip3
python3