Linux – how-to install python3 using yum/epel-release on centos7


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:
 * epel:
 * extras:
 * updates:
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