Ubuntu14.04 installation Python3.6

First delete 3.4

sudo rm /usr/bin/python3


sudo ln -s /usr/bin/python3.6 /usr/bin/python3

in

1, download Python3

wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

2, the download is complete, extract

tar -xvzf Python-3.6.4.tgz 

3, after the extraction is completed, switching to the folder Python3

cd ./Python-3.6.4

4, respectively execution

    1. ./configure --with-ssl
    2.  
    3. make
    4.  


 

Guess you like

Origin www.cnblogs.com/xing03/p/12585470.html