Created
October 9, 2018 08:41
-
-
Save duaraghav8/45a9d5ec9dec3a7bad2dca44b95ae836 to your computer and use it in GitHub Desktop.
Install Python 2.7 on Centos 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs Python 2.7 alongside Python2.6 (which still remains the default python) on a Centos 6 machine. | |
sudo yum install https://$(rpm -E '%{?centos:centos}%{!?centos:rhel}%{rhel}').iuscommunity.org/ius-release.rpm | |
yum -y install python27 python27-devel python27-pip python27-setuptools python27-virtualenv --enablerepo=ius |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment