Linux serverNETWORK ADMINISTRATIONS

How to Install Python 3.6.1 on CentOS 7 & RHEL 7

Python is a versatile programming language that can be used for many different programming projects. First published in 1991 with a name inspired by the British comedy group Monty Python, the development team wanted to make Python a language that was fun to use. Easy to set up, and written in a relatively straightforward style with immediate feedback on errors, Python is a great choice for beginners and experienced developers alike. Python 3 is the most current version of the language and is considered to be the future of Python.yum install gcc yum-utils zlib-devel python-tools cmake git pkgconfig -y
yum groupinstall -y “Development Tools”
cd /usr/src
Python Download Link:- https://www.python.org/downloads/source/
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz
tar xzf Python-3.6.1.tgz
cd Python-3.6.1
./configure
make
make install
which python3
python3 -V

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *