Download python
Official website http://www.python.org/Download python-3.45.tgz put under/usr/local/
• Extract TGZ Package
TAR-ZXVF python-3.4.5.tgz
cd ~/Download/python
./configure--prefix=/usr/local/python34
Note:/usr/local/python34 is the directory you created.
Compile command # Make
... In compile execution ... Wait
Install Command # make install
Configuring the Environment
Since the CENOST7 is installed with the python2.6, you directly enter command # Python comes out of the 2.6 version.
Unless you enter an absolute path to access the new version that was just installed #/usr/local/python34/bin/python3.4 of course it's too much trouble to lose the absolute path every time.
Link
Suggest a link file in the/usr/bin/directory to point to/usr/local/python34/bin/python3.4 this file so that you can automatically start the 3.4.5 version as soon as you enter # Python directly.
First enter the # cd/usr/bin/directory
Then type the command # RM-RF python to delete the old 2.6 link file, and then create a new one, like the following command
# ln-s/usr/local/python34/bin/python3.4./python