How To Install Python3 On CentOS 7

Your video will begin in 10
114 Views
Published
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/

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


Video by: Justin Palmer
Category
Liquid Web
Tags
liquidweb, datacenter, web
Be the first to comment