Installing python3x on CentOS

Source: Internet
Author: User

Installing PYTHON3.XX on CentOS

    1. Download the source Package

wget wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.gz

2. Installation dependencies

Yum install-y openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel

3. Installation

Tar zxf python-3.6.1.tar.gzcd python-3.6.1./configure--prefix=/usr/local/python3makemake Install

4. Set environment variables for easy use

# Enter the Python parser ln-s/usr/local/python3/bin/python3/usr/bin/python3# PIP Installation Kit tool Ln-s/usr/local/python3/bin/pip3/usr/bin /pip3


Installation is complete, you can use the

This article from the "Shallow faint" blog, please be sure to keep this source http://cuixiang.blog.51cto.com/8204722/1930856

Installing python3x on CentOS

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.