centos 7 replace python 3.6 with 3.9 code example Example: install python3 centos 7.8 yum install -y python3