How To Install Python3 On CentOS 7

Bitninja


In this video, we demonstrate to you how to do install the latest version of Python3 via source and using Yum.

Commands used:
Yum
[[email protected] ~]# yum update -y
[[email protected] ~]# yum install -y python3
[[email protected] ~]# python3
[[email protected] ~]# (Ctrl+D to exit python shell)

Source
[[email protected] ~]# yum install gcc openssl-devel bzip2-devel libffi-devel -y
[[email protected] ~]# curl -O https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[[email protected] ~]# tar -xzf Python-3.8.1.tgz
[[email protected] ~]# cd Python-3.8.1/
[[email protected] Python-3.8.1]# ./configure –enable-optimizations
[[email protected] Python-3.8.1]# make altinstall
[[email protected] Python-3.8.1]# python3.8

The related article for this article can be found here:

How to Install Python 3 on CentOS 7

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/

For more information on our other awesome products, visit: https://www.liquidweb.com/products/

To learn more about our current specials visit https://go.liquidweb.com/managed-hosting/new-year/

Video by: Justin Palmer


Duration: 00:03:16
Publisher: Liquid Web
You can watch this video also at the source.