Search This Blog

Monday, February 29, 2016

installing python 3 on centos 6.7

installing python 3 on centos 6.7 
centos has this annoying aspect of being tied to older versions. but I wish to focus on python 3 these days, even while using an older centos, and without changing the system in a manner that may create unexpected result. what can i do ? 

1) install scl 
a) browse complete list of packages available from the SCL 
yum --disablerepo="*" --enablerepo="scl" list available

b) search only SCL packages
yum --disablerepo="*" --enablerepo="scl" search <keyword>

c) list of packages installed from the SCL
scl --list

2) install python 3
sudo yum --disablerepo="*" --enablerepo="scl" install python33       

3) run python 3
scl enable python33 bash


further reading



No comments:

Post a Comment