Python Install on centos

12:18 PM


# install Required Development tools 
yum groupinstall -y development
yum groupinstall -y 'development tools'
yum install wget -y
yum install GCC
cd /opt/
# download Pyhton 2.7 
wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
# unzip the python 
tar -xvzf Python-2.7.6.tar.xz
#move to directory 
cd Python-2.7.6
#Run the following command 
./configure
make altinstall
#check version
python2.7 -V

you can follow me on linkedin : https://linkedin.com/in/salindia for more update

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results