Install Python3.5 on CentOS 7
Install Python3.5 in CentOS 7
• Possible dependencies for installing python3.5
Yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
• Go to the python official website to find the download path and use wget to download
Wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
• Decompress the tgz package
Tar-zxvf Python-3.5.1.tgz
• Move python to/usr/local
Mv Python-3.5.1/usr/local
• Delete python dependencies of earlier versions
Ll/usr/bin | grep python
Rm-rf/usr/bin/python
• Go to the python directory
Cd/usr/local/Python-3.5.1/
• Configuration
./Configure
• Compile make
Make
• Compile and install
Make install
• Delete the old soft link and create a new soft link to the latest python
Rm-rf/usr/bin/python
Ln-s/usr/local/bin/python3.5/usr/bin/python
Python-V
Enjoy your Python!
You may also like the following article about Python:
Installation of Python in Linux and precautions
Install and use the Python rq module in Ubuntu 14.04
Directly run Python code without the need for the operating system
Install Python3.4 on CentOS source code
Python core programming version 2. (Wesley J. Chun). [Chinese version of hd pdf]
Python development technology details. (Zhou Wei, Zong Jie). [hd PDF scan version + book guide video + code]
Obtain Linux information using a Python script
Build a desktop algorithm transaction research environment using Python in Ubuntu
A Brief History of Python Development
Python details: click here
Python: click here
This article permanently updates the link address: