CentOS Python – How to Install Python3 Using Yum/EPEL-Release on CentOS7

centoslinuxpythonyum

I just found out that yum install python36 on CentOS Linux release 7.6.1810 (Core) with epel-release installed

fails with

# yum install python36
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.copahost.com
 * epel: epel.besthosting.ua
 * extras: centos.intergenia.de
 * updates: ftp.halifax.rwth-aachen.de
No package python36 available.
Error: Nothing to do

Could you please advise how to install python36 using yum ?

PS. no ius, no scl releases please

Best Answer

just tried on my (same) distro, it worked, you may try commands below :

yum clean all ; yum install python36