HostOnNet Blog

Install Python 3 from Source

Looking for Linux Server Admin or WordPress Expert? We can help.

To install python 3 from source, download latest python from

https://www.python.org/downloads/

Install it with

cd /usr/local/src
wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
tar xvf Python-3.6.2.tar.xz
cd Python-3.6.2
./configure --prefix=/usr
make
make install

To check python version

[root@server12 ~]# python3 --version
Python 3.6.2
[root@server12 ~]# 

See Python

Posted in Python

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.