独立安装python3
# 下载最新的python3压缩包
wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
# 解压缩
xz -d Python-3.6.2.tar.xz
tar -xvf Python-3.6.2.tar
# 安装到/usr/local/python3下
cd Python-3.6.2
./configure --prefix=/usr/local/python3
make && make install
#创建软连接
ln -sv /usr/local/python3/bin/python3 /usr/local/bin/
ln -sv /usr/local/python3/bin/pip3 /usr/local/bin/