Discover Centmin Mod today
Register Now

Beta Branch update addons/, python 3.4 & IUS Community Repo

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 18, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:08 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    update addons/, python 3.4 & IUS Community Repo

    Add addons/ centmin mod addon to install IUS Community YUM Repo disabled by default but can be enabled via --enablerepo=ius. Allows installing Python 2.7, 3.2, 3.3 and 3.4 versions side by side with CentOS 6 system Python 2.6 or CentOS 7 system Python 2.7 (note EPEL has python34 package too).

    Once IUS Community YUM repo is installed, installing python 3.4 is as easy as

    yum -y install python34u python34u-devel python34u-pip python34u-setuptools python34u-tools --enablerepo=ius

    Installing python 2.7 is as easy as

    yum -y install python27 python27-devel python27-pip python27-setuptools python27-tools python27-virtualenv --enablerepo=ius

    Also updated addons/ for this new method and added addons/ which basically does the same above yum commands.

    Binary paths to python 2.7 and 3.4 are as follows

    # rpm -ql python27 python27-pip python27-virtualenv | grep bin
    # /usr/bin/pydoc27
    # /usr/bin/python2.7
    # /usr/bin/pip2.7
    # /usr/bin/virtualenv-2.7

    # rpm -ql python34u python34u-pip | grep bin
    # /usr/bin/pydoc3
    # /usr/bin/pydoc3.4
    # /usr/bin/python3
    # /usr/bin/python3.4
    # /usr/bin/python3.4m
    # /usr/bin/pyvenv
    # /usr/bin/pyvenv-3.4
    # /usr/bin/pip3
    # /usr/bin/pip3.4

    Continue reading...

    123.09beta01 branch