yum install epel-release
yum -y groupinstall development
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel
#Check the available python 3 version.
yum --disablerepo="*" --enablerepo="epel" info python3
cd /usr/src
wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz
tar xzf Python-3.6.8.tgz
cd Python-3.6.8
./configure --enable-optimizations
make altinstall
python3.6 -V
# Activate the my36project sandbox:
source my36project/bin/activate
# Check the Python version in the sandbox (it should be Python 3.6.8):
python --version
# Deactivate the sandbox:
deactivate
文章评论
I think this is one of the most important info for me.
And i am glad reading your article. But wanna remark on some general
things, The web site style is wonderful, the articles is
really great : D. Good job, cheers
@cialis Thank you. I hope it will help you.