How to Install latest version of Python3.6 on Ubuntu 16.04

Python is a very powerful programming language. It is easy to lean and very simple to understand syntax. It is very efficient scripting language, that is why it is very popular now days.

Python available across all platforms including Ubuntu Linux. It has two versions python2 and python3. The latest version of python3 is python 3.6. In Ubuntu 17.10 and Ubuntu 18.04 has pre – installed python 3.6. But In Ubuntu 16.04 python 3.5 is installed by default.

In order to install python 3.6 on Ubuntu 16.04 we need to use third party PPA.

Follow these steps to install python 3.6 on ubuntu 16.04

1.Open terminal ctrl+Alt+T and use following command.

sudo add-apt-repository ppa:jonathonf/python-3.6

2.Check for updates if available

sudo apt-get update

3.Then install python 3.6 by using the following command

sudo apt-get install python3.6

4. Now, you have to make python3.6 for python3 not python 3.5. Use these two commands

1 Comment

Thanks for sharing excellent informations. Your site is so cool. I am impressed by the details that you’ve on this website. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for more articles. You, my pal, ROCK! I found just the information I already searched everywhere and just could not come across. What a great site.