![Yum install python 3.7](https://kumkoniak.com/1.jpg)
![yum install python 3.7 yum install python 3.7](https://resource.tinychen.com/20210617170535.jpg)
When you install your custom version of Python. configure Python-3.7.4]# make altinstall Use below commands to compile source code by using altinstall ~]# cd Python-3.7.4]#. This Python installation required GCC compiler on your system.install prerequisites for Python before installing it ~]# yum install gcc openssl-devel bzip2-devel ~]# yum groupinstall "Development Tools"ĭownload python 3.7 ~]# cd src]# src]# tar -xvzf Python-3.7.4.tgz Python 3.6.8 compiling 3.7 from source code Now install python with pip ~]# yum install python36u python36u-libs python36u-devel python36u-pip In order to have the latest version of Python, the user will have to install it manually.īy default centos is having python version of 2.7įirst we will install python3.6 from repository ~]# yum install However, the pre-installed version of Python found on CentOS 7 is a much older version. Python is a general-purpose object-oriented programming language designed to be used as a software solution for almost all kinds of problems.
![Yum install python 3.7](https://kumkoniak.com/1.jpg)