Use Python3 and solarispython3 in Solaris 10

Source: Internet
Author: User

Use Python3 and solarispython3 in Solaris 10

Generally, only Python2.x can be used on Solaris 10. If you use Python3, one way is to get the available binary version of The http://www.sunfreeware.com, but the current site does not provide free download; so we need to compile it on our own. First, download the source code on the Python website. I downloaded the Pythob-3.4.3.tgz that can be used for both the Linux and x86 versions. Then download the compiler, because the suncc compiler does not support Python, we need the gcc compiler, the binary version can go to the sage website to gcc4.3.2 (http://wiki.sagemath.org/solaris-binaries), or you can download it at http://pan.baidu.com/s/1c00ghq4.

Decompress the compiler, set the environment variables, and decompress the python 3 source code. Go to the python3 directory. /Configure -- with-gcc = after gcc is configured, you can make it directly, but only the CUI version of python3 is available. This method can be used in both the Linux and x86 versions of Solaris 10.


Reference: http://blog.csdn.net/seeme007/article/details/3772767 (compiling/installing python 3.0 under Solaris)


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.