Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Analysis of CentOS6.5 installation python3.7 instance

Shulou Source: shulou.com Published: 2022-05-31 11:31:16 10月25日 Update

This article mainly introduces CentOS6.5 installation python3.7 instance analysis related knowledge, detailed and easy to understand, simple and fast operation, has a certain reference value, I believe everyone will have a harvest after reading this CentOS6.5 installation python3.7 instance analysis article, let's take a look at it.

Download Python 3

wget https://www.python.org/ftp/python/3.7.0/python-3.7.0.tgz

2. Decompression

[root@mycentos ~]# tar -xzvf python-3.7.0.tgz

First, create a compilation directory:

[root@mycentos ~]# mkdir /usr/local/python3

Python 3.7 requires a new package libffi-devel, which can be compiled and installed again.

[root@mycentos ~]# yum install -y libffi-devel

Then compile and install:

[root@mycentos ~]# cd python-3.7.0[root@mycentos ~]# ./ configure --prefix=/usr/local/python3[root@mycentos ~]# make[root@mycentos ~]# make install

Create soft links:

[root@mycentos ~]# ln -s /usr/local/python3/bin/python3 /usr/bin/python3

View Version:

[root@mycentos ~]# python3 -vpython 3.7.0 About "CentOS6.5 installation python3.7 instance analysis" The content of this article is introduced here, thank you for reading! I believe that everyone has a certain understanding of the knowledge of "CentOS6.5 installation python3.7 instance analysis." If you still want to learn more knowledge, please pay attention to the industry information channel.

Tags: Examples case analysis analysis knowledge compilation content version article value again easy to operate article easy to understand more catalog look industry information channels links Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology NVidia Xiaomi vpn