Tags: using download version code down configure Conf Yum follow
Download the installation packagehttps://www.python.org/downloads/release/python-352/
If you're lazy, just use the following command.
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
Extract
tar -xzvf Python-3.5.2.tgz
Before installation
Please install the following components: GCC (compile to use), Openssl-devel (install PIP3)
yum install gcc zlib-devel
Installation
Go to the Unpacked directory
cd Python-3.5.2
To configure the installation directory (select Use default here), the command is as follows:
Compile and install:
make && make install
Installation complete, look at the version of Python3 and PIP3
python3 --version pip3 --version
Python3.5-centos Installation