python3.6.1 in centos6.4 under the installation graphics tutorial

Source: Internet
Author: User
This article is mainly for you to introduce the centos6.4 under the python3.6.1 installation tutorial, with a certain reference value, interested in small partners can refer to

The example of this article for everyone to share the python3.6.1 installation tutorial, for your reference, the specific content as follows

1. Install the required package for compiling the environment


#yum Install zlib-devel bzip2-devel openssl-devel ncurese-devel gcczlib

Installation Successful

2. Download the source package


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

3. Installation

Unpack the source package into the extracted Python source package directory


#tar ZXVF PYTHON-3.6.1.TGZ#CD Python-3.6.1

4. Compiling the installation


#./configure--prefix=/usr/local/python3#make


#make Install

5. Add Environment variables


#vim/etc/profile

Add Export path= "$PATH:/usr/local/python3/bin"

Restart it and you can use it.

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.