How to Install Python 3.6.0 on Ubuntu using PPA

Python 3.6.0 is the latest stable version at time of writing of tutorial. This Python version is maintaining by jonathonf team. This article will help you to install Python 3.6.0 on Ubuntu operating system using PPA. To know more about this version visit Python official website.

Install Python 3.6.0 on Ubuntu

Add PPA from Python 3.6.0

Say thanks to jonathonf team for maintaining PPA of Python 3.6.0. Use the following command to add PPA for Python 3.6.0.

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

Installing Prerequisite:

First you upgrade your system packages after that install required package using following command.

$ sudo apt-get update && apt-get upgrade
$ sudo apt-get install build-essential checkinstall
$ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Install Python 3.6.0:

After system upgrade, use below commands to install Python latest version.

$ sudo apt-get install python3.6

Check Python Version:

Use following command to check version of python on your system.

$ python3.6 -V
Python 3.6.0

Reference:
https://launchpad.net/~jonathonf/+archive/ubuntu/python-3.6

Enjoy it!

No Responses

Leave a Reply

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.