cd /path/to/downloads wget https://www.openssl.org/source/openssl-1.1.1b.tar.gz tar zvxf openssl-1.1.1b.tar.gz cd openssl-1.1.1b ./config -fPIC --prefix=/usr/ --openssldir=/usr/openssl enable-shared shared zlib make -j24 make install
cd /path/to/downloads wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar zvxf Python-3.7.2.tgz cd Python-3.7.2 sed -i "6s/endif/else/" ./Modules/_uuidmodule.c sed -i "7d" ./Modules/_uuidmodule.c
./configure --prefix=/usr/local/python3.7.2 --enable-optimizations --enable-shared --enable-profiling --with-ssl make -j24 make install
cd /usr/bin for fname in $(ls /usr/local/python3.7.2/bin/); doln -sf /usr/local/python3.7.2/bin/${fname} ./${fname}; done ln -sf pydoc3 pydoc ln -sf python3 python ln -sf python3-config python-config ln -sf pip3 pip