Install Python 3.6 on Centos 7
Posted on April 20, 2018 • 1 minutes • 135 words • Suggest Changes
Sometimes you want to have newer software on Centos/Red Hat. But its because that slower adoption, we can actually use Centos for so long, and the support they deliver is amazing. That being said, sometimes there is no getting back and you need newer software. Python 3X is such a package. So let’s go ahead and install Python 3.6 using iuscommunity, (Inline with Upstream Stable)
Some developmental tools to compile software from source code :
yum install yum-utils groupinstall development
Add the repository to our pool, then update the repos :
yum install https://centos7.iuscommunity.org/ius-release.rpm yum update
and install python 3.6
yum install python36u python36u-pip
This adds python 3.6.4 at this time; which can be run :
python3.6
This can be used to install useful tools such as NanoPlot 🙂
pip3.6 install NanoPlot
That’s it 🙂