How To Install Python3 On CentOS 7

January 3, 2020 Liquid Web

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

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

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


The related article for this article can be found here: 
https://www.liquidweb.com/kb/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/ 

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Premium Business Email Control Panel Walk Through
Premium Business Email Control Panel Walk Through

In this helpful tutorial, find out how to turn on spam settings, add additional email users, add additional...

Next Video
Liquid Web and Nexcess Are Joining Forces
Liquid Web and Nexcess Are Joining Forces

Liquid Web acquired Nexcess in the summer of 2019. Our VP of Products and Innovation, Chris Lema, explains ...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now