Site icon TechGit

How To Install Python 3.6.1 On Ubuntu

How to install Python 3.6.1 in Ubuntu 16.04. Python 3.6.1 is now the latest maintenance release of Python 3.6 and supersedes 3.6.0. Python is a widely used high-level programming language for general-purpose programming.

Python 3.6 series comes with new syntax features, such as:

Significant improvements in the standard library:

Major new features of the 3.6 series, compared to 3.5

Among the new major new features in Python 3.6 are:

Install Python 3.6.1 in Ubuntu 16.04

Run the following commands in Terminal to install Python 3.6.1 in Ubuntu 16.04:

sudo apt-get update
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

The PPA description says that it’s a plain backport of *just* Python 3.6. System extensions/Python libraries may or may not work. Don’t remove Python 3.5 from your system – it will break.

Please note that after installing Python 3.6, you will have to direct the system to use python 3.6 instead of the default 3.5:

sudo apt-get update
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2

How To Install Python 3.6.1 On Ubuntu originally posted on Source Digit – Latest Technology, Gadgets & Gizmos.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version