"Python article"---Python3.5 installation tutorial in Centoos-ultra-practical

Source: Internet
Author: User

First, the foregoing

Python3 used in the company or more, but the general Centoos default is Python2 environment. So this article on the installation of Python3 to make a summary.

Second, the specific

1. View Python version python command

2. Install Python's dependency package

Yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel Libpcap-devel Xz-devel

3. Download the installation package

wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz

4, unzip and enter the decompression directory after the installation

TAR-XF python-3.5.0.tgz

CD Python-3.5.0


Make && make install

5. Create a soft connection



6. Test input Python3

This installation is successful!!

"Python article"---Python3.5 installation tutorial in Centoos-ultra-practical

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.